From 24ce67edf0e407c18310dacc972e0bd69d902522 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 26 Aug 2009 13:18:19 +0200 Subject: add configure check for errno_t --- server/util/util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/util') 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; -- cgit