summaryrefslogtreecommitdiff
path: root/server/util
diff options
context:
space:
mode:
Diffstat (limited to 'server/util')
-rw-r--r--server/util/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/util/util.h b/server/util/util.h
index 87965292..f289f9c5 100644
--- a/server/util/util.h
+++ b/server/util/util.h
@@ -15,6 +15,11 @@
#include "tevent.h"
#include "ldb.h"
+#ifndef HAVE_ERRNO_T
+#define HAVE_ERRNO_T
+typedef int errno_t;
+#endif
+
extern const char *debug_prg_name;
extern int debug_level;
extern int debug_timestamps;