]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/utils.c
from jon@symas.com - misc cleanup
[openldap] / libraries / liblutil / utils.c
index 63016d4789c66e4c0cedbaad5a0975f0887b2783..40ba0a971c5c3e136f184ca55d044b7fc88a9931 100644 (file)
@@ -9,6 +9,7 @@
 #include <ac/stdlib.h>
 #include <ac/string.h>
 
+#include <lber.h>
 #include <lutil.h>
 #include <ldap_defaults.h>
 
@@ -25,3 +26,10 @@ char* lutil_progname( const char* name, int argc, char *argv[] )
 
        return progname;
 }
+
+#ifndef HAVE_MKSTEMP
+int mkstemp( char * template )
+{
+       return -1;
+}
+#endif