From dc273a12da9f0116e80fa81d63beb820e632dd17 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Thu, 3 Sep 2009 00:01:33 +0200 Subject: - Compile with _GNU_SOURCE - Fixed classifier.c -> cls.c --- lib/Makefile.am | 4 ++-- src/Makefile.am | 2 +- 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 = \ -- cgit v0.12