3 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms are permitted only
7 * as authorized by the OpenLDAP Public License. A copy of this
8 * license is available at http://www.OpenLDAP.org/license.html or
9 * in file LICENSE in the top-level directory of the distribution.
16 # include <sys/types.h>
23 /* crypt() may be defined in a separate include file */
30 /* getopt() defines may be in separate include file */
34 #elif !defined(HAVE_GETOPT)
35 /* no getopt, assume we need getopt-compat.h */
36 # include <getopt-compat.h>
39 /* assume we need to declare these externs */
41 extern int optind, opterr, optopt;
45 extern char *tempnam(const char *tmpdir, const char *prefix);
48 extern char *mktemp(char *);
51 /* use _POSIX_VERSION for POSIX.1 code */
53 #endif /* _AC_UNISTD_H */