]> git.sur5r.net Git - openldap/blobdiff - include/portable.h.nt
Fix up socket.h
[openldap] / include / portable.h.nt
index 1c76193dd7cd41eccab42ba9b19dac73ce0d4f97..641fdb685474a2c3acb72278ccbd79dd3a0a1bb0 100644 (file)
@@ -86,13 +86,13 @@ typedef char * caddr_t;
 #undef _MINIX
 
 /* Define to `int' if <sys/types.h> doesn't define.  */
-#undef mode_t int
+#define mode_t int
 
 /* Define to `long' if <sys/types.h> doesn't define.  */
 #undef off_t
 
 /* Define to `int' if <sys/types.h> doesn't define.  */
-#undef pid_t int
+#define pid_t int
 
 /* Define if the system does not provide POSIX.1 features except
    with this defined.  */
@@ -102,13 +102,13 @@ typedef char * caddr_t;
 #undef _POSIX_SOURCE
 
 /* Define as the return type of signal handlers (int or void).  */
-#undef RETSIGTYPE void
+#define RETSIGTYPE void
 
 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
 #undef size_t
 
 /* Define if you have the ANSI C header files.  */
-#undef STDC_HEADERS
+#define STDC_HEADERS 1
 
 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
 #undef TIME_WITH_SYS_TIME
@@ -117,7 +117,7 @@ typedef char * caddr_t;
 #undef TM_IN_SYS_TIME
 
 /* Define to `int' if <sys/types.h> doesn't define.  */
-#undef uid_t long
+#define uid_t long
 
 /* define this if sys_errlist is not defined in stdio.h or errno.h */
 #undef DECL_SYS_ERRLIST
@@ -167,12 +167,12 @@ typedef char * caddr_t;
 /* define if your POSIX Threads implementatin is circa Draft 4 */
 #undef HAVE_PTHREADS_D4
 
-/* define if you have -ltermcap */
-#undef HAVE_TERMCAP
-
 /* define if you have -lwrap */
 #undef HAVE_TCPD
 
+/* define if you have -ltermcap */
+#undef HAVE_TERMCAP
+
 /* define this for connectionless LDAP support */
 #define LDAP_CONNECTIONLESS
 
@@ -191,6 +191,18 @@ typedef char * caddr_t;
 /* define this for LDAP User Interface support */
 #undef LDAP_LIBUI
 
+/* define this to use DBBTREE w/ LDBM backend */
+#undef LDBM_USE_DBBTREE
+
+/* define this to use DBHASH w/ LDBM backend */
+#undef LDBM_USE_DBHASH
+
+/* define this if you want no termcap support */
+#define NO_TERMCAP 1
+
+/* define this if you want no thread support */
+#define NO_THREADS 1
+
 /* define this for ACL Group support */
 #define SLAPD_ACLGROUPS
 
@@ -201,7 +213,7 @@ typedef char * caddr_t;
 #undef SLAPD_LDBM
 
 /* define this for MD5 password support */
-#define SLAPD_MD5
+#define SLAPD_MD5 1
 
 /* define this to use SLAPD passwd backend */
 #undef SLAPD_PASSWD
@@ -210,26 +222,14 @@ typedef char * caddr_t;
 #undef SLAPD_PHONETIC
 
 /* define this for Reverse Lookup support */
-#define SLAPD_RLOOKUPS
+#define SLAPD_RLOOKUPS 1
 
 /* define this for SHA1 password support */
-#define SLAPD_SHA1
+#define SLAPD_SHA1 1
 
 /* define this to use SLAPD shell backend */
 #undef SLAPD_SHELL
 
-/* define this to use DBBTREE w/ LDBM backend */
-#undef LDBM_USE_DBBTREE
-
-/* define this to use DBHASH w/ LDBM backend */
-#undef LDBM_USE_DBHASH
-
-/* define this if you want no termcap support */
-#define NO_TERMCAP 1
-
-/* define this if you want no thread support */
-#define NO_THREADS 1
-
 /* define this if the thread package is preemptive */
 #undef THREAD_PREEMPTIVE
 
@@ -285,7 +285,7 @@ typedef char * caddr_t;
 #undef HAVE_SIGSET
 
 /* Define if you have the socket function.  */
-#define HAVE_SOCKET 1
+#undef HAVE_SOCKET
 
 /* Define if you have the strdup function.  */
 #define HAVE_STRDUP 1
@@ -326,6 +326,9 @@ typedef char * caddr_t;
 /* Define if you have the <dirent.h> header file.  */
 #undef HAVE_DIRENT_H
 
+/* Define if you have the <errno.h> header file.  */
+#define HAVE_ERRNO_H 1
+
 /* Define if you have the <fcntl.h> header file.  */
 #define HAVE_FCNTL_H 1
 
@@ -368,6 +371,9 @@ typedef char * caddr_t;
 /* Define if you have the <pthread.h> header file.  */
 #undef HAVE_PTHREAD_H
 
+/* Define if you have the <regex.h> header file.  */
+#undef HAVE_REGEX_H
+
 /* Define if you have the <sched.h> header file.  */
 #undef HAVE_SCHED_H
 
@@ -383,6 +389,9 @@ typedef char * caddr_t;
 /* Define if you have the <sys/dir.h> header file.  */
 #undef HAVE_SYS_DIR_H
 
+/* Define if you have the <sys/errno.h> header file.  */
+#undef HAVE_SYS_ERRNO_H
+
 /* Define if you have the <sys/file.h> header file.  */
 #undef HAVE_SYS_FILE_H
 
@@ -392,9 +401,18 @@ typedef char * caddr_t;
 /* Define if you have the <sys/ndir.h> header file.  */
 #undef HAVE_SYS_NDIR_H
 
+/* Define if you have the <sys/param.h> header file.  */
+#undef HAVE_SYS_PARAM_H
+
+/* Define if you have the <sys/socket.h> header file.  */
+#define HAVE_SYS_SOCKET_H 1
+
 /* Define if you have the <sys/time.h> header file.  */
 #undef HAVE_SYS_TIME_H
 
+/* Define if you have the <sys/types.h> header file.  */
+#define HAVE_SYS_TYPES_H 1
+
 /* Define if you have the <syslog.h> header file.  */
 #undef HAVE_SYSLOG_H