2007-11-08 23:30:59 +03:00
|
|
|
/* $NetBSD: compat_getopt.h,v 1.2 2007/11/08 20:30:59 christos Exp $ */
|
2004-06-21 02:20:14 +04:00
|
|
|
|
|
|
|
/* We unconditionally use the NetBSD getopt.h in libnbcompat. */
|
|
|
|
|
|
|
|
#if HAVE_GETOPT_H
|
|
|
|
#include <getopt.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define option __nbcompat_option
|
2007-11-08 23:30:59 +03:00
|
|
|
#define getopt_long __nbcompat_getopt_long
|
|
|
|
|
|
|
|
#undef no_argument
|
|
|
|
#undef required_argument
|
|
|
|
#undef optional_argument
|
2004-06-21 02:20:14 +04:00
|
|
|
#undef _GETOPT_H_
|
2007-11-08 23:30:59 +03:00
|
|
|
|
2004-06-21 02:20:14 +04:00
|
|
|
#include "../../include/getopt.h"
|