diff options
author | Christian Hesse <mail@eworm.de> | 2014-10-21 14:13:31 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-10-21 14:13:31 +0200 |
commit | bc608737924c3c87d328b26654a16c7adc01bf4d (patch) | |
tree | 788df18aeddec1fb449d8110d5361a7b2559a8fa | |
parent | a486c19d2c76e5d9f64779b42b195d8f2e371291 (diff) | |
download | dyndhcpd-bc608737924c3c87d328b26654a16c7adc01bf4d.tar.gz dyndhcpd-bc608737924c3c87d328b26654a16c7adc01bf4d.tar.zst |
use ISO C11 standard
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | dyndhcpd.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -5,7 +5,7 @@ MD := markdown INSTALL := install RM := rm CP := cp -CFLAGS += -O2 -Wall -Werror +CFLAGS += -std=c11 -O2 -Wall -Werror # this is just a fallback in case you do not use git but downloaded # a release tarball... VERSION := 0.0.8 @@ -7,6 +7,8 @@ * This is an example code skeleton provided by vim-skeleton. */ +#define _GNU_SOURCE + #include <arpa/inet.h> #include <sys/socket.h> #include <net/if.h> |