summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgr@lsx.localdomain>2009-09-02 22:01:33 (GMT)
committerThomas Graf <tgr@lsx.localdomain>2009-09-02 22:01:33 (GMT)
commitdc273a12da9f0116e80fa81d63beb820e632dd17 (patch)
tree6230d8310b4680f4fe2421e3728877e8e427c5ce
parentf946cfaa3a45e4c5752e3930e8383196aae85399 (diff)
downloadlibnl-dc273a12da9f0116e80fa81d63beb820e632dd17.zip
libnl-dc273a12da9f0116e80fa81d63beb820e632dd17.tar.gz
libnl-dc273a12da9f0116e80fa81d63beb820e632dd17.tar.bz2
- Compile with _GNU_SOURCE
- Fixed classifier.c -> cls.c
-rw-r--r--lib/Makefile.am4
-rw-r--r--src/Makefile.am2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 4156f52..3c1dca7 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,6 +1,6 @@
# -*- Makefile -*-
-AM_CFLAGS = -Wall -I${top_srcdir}/include
+AM_CFLAGS = -Wall -I${top_srcdir}/include -D_GNU_SOURCE
lib_LTLIBRARIES = \
libnl.la libnl-genl.la libnl-nf.la libnl-route.la
@@ -27,7 +27,7 @@ libnl_route_la_LDFLAGS = -version-info 2:0:0
libnl_route_la_LIBADD = libnl.la
libnl_route_la_SOURCES = \
route/addr.c route/class.c route/class_api.c route/class_obj.c \
- route/classifier.c route/cls_api.c route/cls_obj.c route/link.c \
+ route/cls.c route/cls_api.c route/cls_obj.c route/link.c \
route/neigh.c route/neightbl.c route/nexthop.c route/qdisc.c \
route/qdisc_api.c route/qdisc_obj.c route/route.c route/route_obj.c \
route/route_utils.c route/rtnl.c route/rule.c route/tc.c \
diff --git a/src/Makefile.am b/src/Makefile.am
index 96dc52b..0ffc26f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
# -*- Makefile -*-
-AM_CFLAGS = -Wall -I${top_srcdir}/include
+AM_CFLAGS = -Wall -I${top_srcdir}/include -D_GNU_SOURCE
AM_LDFLAGS = -L${top_builddir}/lib
noinst_PROGRAMS = \