sync 3.0 into HEAD for the last time
[metze/samba/wip.git] / source3 / lib / util_file.c
index 638a6ca3429161115b61dcddcdc3b2fb3ff05637..bd505ac921c37f0f89098da39677f4c646bf92e6 100644 (file)
 
 #include "includes.h"
 
+#ifndef MAP_FAILED
+#define MAP_FAILED ((void *)-1)
+#endif
+
+
 static int gotalarm;
 
 /***************************************************************