mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Add getopt-compat.h
This commit is contained in:
parent
f6598a69e7
commit
9c58b13dd4
1 changed files with 14 additions and 0 deletions
14
include/getopt-compat.h
Normal file
14
include/getopt-compat.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* getopt(3) declarations
|
||||
*/
|
||||
#ifndef _GETOPT_COMPAT_H
|
||||
#define _GETOPT_COMPAT_H
|
||||
|
||||
#include <ldap_cdefs.h>
|
||||
|
||||
extern char *optarg;
|
||||
extern int optind, opterr, optopt;
|
||||
|
||||
LDAP_F int getopt LDAP_P((int, char * const [], const char *));
|
||||
|
||||
#endif /* _GETOPT_COMPAT_H */
|
||||
Loading…
Reference in a new issue