2 * Portions Copyright (c) 1987, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
5 * Portions Copyright (c) 2003-2007, PostgreSQL Global Development Group
7 * $PostgreSQL: pgsql/src/include/getopt_long.h,v 1.8 2007/01/05 22:19:50 momjian Exp $
16 /* These are picked up from the system's getopt() facility. */
22 /* Some systems have this, otherwise you need to define it somewhere. */
25 #ifndef HAVE_STRUCT_OPTION
36 #define required_argument 1
39 #ifndef HAVE_GETOPT_LONG
41 extern int getopt_long(int argc
, char *const argv
[],
42 const char *optstring
,
43 const struct option
* longopts
, int *longindex
);
46 #endif /* GETOPT_LONG_H */