summaryrefslogtreecommitdiffstats
path: root/server/util/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/util/util.h')
-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 879652924..f289f9c52 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;