diff options
| author | Edgar E. Iglesias <[email protected]> | 2012-06-26 22:06:05 +0200 |
|---|---|---|
| committer | Edgar E. Iglesias <[email protected]> | 2012-06-26 22:11:44 +0200 |
| commit | 1aec9e29b3c4a37e38c4159fd5c34ffd1029f222 (patch) | |
| tree | 7d570c46facdabe3e055f479c4fca65d08dc9c76 /src | |
| parent | d9319a8ba336153172ae8b0ff37b2d676fe6c450 (diff) | |
| download | mdhcp6-master.tar.gz | |
Signed-off-by: Edgar E. Iglesias <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/dhcpv6.c | 5 | ||||
| -rw-r--r-- | src/net_bsdsock.c | 5 | ||||
| -rw-r--r-- | src/notify.c | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 63d9d18..a1f3df2 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -27,6 +27,9 @@ * Authors: Edgar E. Iglesias <[email protected]> */ +#define __GNU_SOURCE +#define __USE_GNU + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -40,8 +43,6 @@ #include <stdio.h> #include <stdlib.h> -#define __GNU_SOURCE -#define __USE_GNU #include <string.h> #include <errno.h> #include <unistd.h> diff --git a/src/net_bsdsock.c b/src/net_bsdsock.c index b16c47b..28d6870 100644 --- a/src/net_bsdsock.c +++ b/src/net_bsdsock.c @@ -22,6 +22,9 @@ * Authors: Edgar E. Iglesias <[email protected]> */ +#define __GNU_SOURCE +#define __USE_GNU + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -35,8 +38,6 @@ #include <stdio.h> #include <stdlib.h> -#define __GNU_SOURCE -#define __USE_GNU #include <string.h> #include <errno.h> #include <unistd.h> diff --git a/src/notify.c b/src/notify.c index cc56c91..22fe817 100644 --- a/src/notify.c +++ b/src/notify.c @@ -22,6 +22,9 @@ * Authors: Edgar E. Iglesias <[email protected]> */ +#define __GNU_SOURCE +#define __USE_GNU + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -35,8 +38,6 @@ #include <stdio.h> #include <stdlib.h> -#define __GNU_SOURCE -#define __USE_GNU #include <string.h> #include <errno.h> #include <unistd.h> |
