diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-01-21 16:14:42 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-01-30 16:23:03 +0100 |
commit | f724741db0d48a6fd0bb07ac42bba9b203d3eb71 (patch) | |
tree | 493fce34021307c9ea174ba2c7d7fcde2328f09c /dhcpcd/if-options.c | |
parent | DHCPCD(8): Add RTEMS program support (diff) | |
download | rtems-libbsd-f724741db0d48a6fd0bb07ac42bba9b203d3eb71.tar.bz2 |
DHCPCD(8): Add getopt_long_r() support
Diffstat (limited to 'dhcpcd/if-options.c')
-rw-r--r-- | dhcpcd/if-options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dhcpcd/if-options.c b/dhcpcd/if-options.c index c7930096..7244f8de 100644 --- a/dhcpcd/if-options.c +++ b/dhcpcd/if-options.c @@ -33,6 +33,9 @@ #include <ctype.h> #include <errno.h> +#ifdef __rtems__ +#define __need_getopt_newlib +#endif /* __rtems__ */ #include <getopt.h> #include <limits.h> #include <paths.h> |