summaryrefslogtreecommitdiff
path: root/inet/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-09 11:27:44 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-09 11:27:44 +0100
commit0abbe7cd700951082b314182a0958d65238297ef (patch)
treeadcd0df49e7cb1024fbe39034a54798c36f116d7 /inet/Makefile
parentc23de0aacbeaa7a091609b35764bed931475a16d (diff)
inet: Make IN6_IS_ADDR_UNSPECIFIED etc. usable with POSIX [BZ #16421]
Previously, under some feature test macros and compilers, the macros were defined, but references undefined struct members in their implementation.
Diffstat (limited to 'inet/Makefile')
-rw-r--r--inet/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/inet/Makefile b/inet/Makefile
index 1c30932997..c82ad924aa 100644
--- a/inet/Makefile
+++ b/inet/Makefile
@@ -51,8 +51,8 @@ aux := check_pf check_native ifreq
tests := htontest test_ifindex tst-ntoa tst-ether_aton tst-network \
tst-gethnm test-ifaddrs bug-if1 test-inet6_opt tst-ether_line \
- tst-getni1 tst-getni2 tst-inet6_rth tst-checks tst-sockaddr \
- tst-inet6_scopeid_pton
+ tst-getni1 tst-getni2 tst-inet6_rth tst-checks tst-checks-posix \
+ tst-sockaddr tst-inet6_scopeid_pton
include ../Rules
@@ -86,6 +86,7 @@ CFLAGS-either_hton.c = -fexceptions
CFLAGS-getnetgrent.c = -fexceptions
CFLAGS-getnetgrent_r.c = -fexceptions
+CFLAGS-tst-checks-posix.c = -std=c99
CFLAGS-tst-sockaddr.c = -fno-strict-aliasing
endif