2 * Portions Copyright (c) 1987, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
5 * Portions Copyright (c) 2003-2025, PostgreSQL Global Development Group
7 * src/include/getopt_long.h
9 /* IWYU pragma: always_keep */
13 #include "pg_getopt.h" /* IWYU pragma: export */
15 #ifndef HAVE_STRUCT_OPTION
26 #define required_argument 1
27 #define optional_argument 2
30 #ifndef HAVE_GETOPT_LONG
32 extern int getopt_long(int argc
, char *const argv
[],
33 const char *optstring
,
34 const struct option
*longopts
, int *longindex
);
37 #endif /* GETOPT_LONG_H */