1 1.2 christos /* $NetBSD: compat_getopt.h,v 1.2 2007/11/08 20:30:59 christos Exp $ */ 2 1.1 jmc 3 1.1 jmc /* We unconditionally use the NetBSD getopt.h in libnbcompat. */ 4 1.1 jmc 5 1.1 jmc #if HAVE_GETOPT_H 6 1.1 jmc #include <getopt.h> 7 1.1 jmc #endif 8 1.1 jmc 9 1.1 jmc #define option __nbcompat_option 10 1.2 christos #define getopt_long __nbcompat_getopt_long 11 1.2 christos 12 1.2 christos #undef no_argument 13 1.2 christos #undef required_argument 14 1.2 christos #undef optional_argument 15 1.1 jmc #undef _GETOPT_H_ 16 1.2 christos 17 1.1 jmc #include "../../include/getopt.h" 18