NetBSD/tools/compat/compat_getopt.h

18 lines
389 B
C

/* $NetBSD: compat_getopt.h,v 1.2 2007/11/08 20:30:59 christos Exp $ */
/* We unconditionally use the NetBSD getopt.h in libnbcompat. */
#if HAVE_GETOPT_H
#include <getopt.h>
#endif
#define option __nbcompat_option
#define getopt_long __nbcompat_getopt_long
#undef no_argument
#undef required_argument
#undef optional_argument
#undef _GETOPT_H_
#include "../../include/getopt.h"