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