]> git.sur5r.net Git - openldap/blob - include/ac/unistd.h
5e4501f5893fbf6644244412111f4ac078a48369
[openldap] / include / ac / unistd.h
1 /* Generic unistd.h */
2
3 #ifndef _AC_UNISTD_H
4 #define _AC_UNISTD_H
5
6 #if HAVE_SYS_TYPES_H
7 # include <sys/types.h>
8 #endif
9
10 #if HAVE_UNISTD_H
11 # include <unistd.h>
12 #endif
13
14 /* getopt() defines may be in separate include file */
15 #if HAVE_GETOPT_H
16 # include <getopt.h>
17 #endif
18
19 #ifndef HAVE_GETOPT
20 /* no getopt, assume we need getopt-compat.h */
21 # include <getopt-compat.h>
22 #endif
23
24 /* use _POSIX_VERSION for POSIX.1 code */
25
26 #endif /* _AC_UNISTD_H */