summaryrefslogtreecommitdiff
path: root/ripd
diff options
context:
space:
mode:
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_snmp.c2
-rw-r--r--ripd/subdir.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/ripd/rip_snmp.c b/ripd/rip_snmp.c
index b922d66912..d49d360b7e 100644
--- a/ripd/rip_snmp.c
+++ b/ripd/rip_snmp.c
@@ -31,7 +31,7 @@
#include "table.h"
#include "smux.h"
#include "libfrr.h"
-#include "version.h"
+#include "lib/version.h"
#include "ripd/ripd.h"
diff --git a/ripd/subdir.am b/ripd/subdir.am
index 99979bff0d..8de0fc4b5a 100644
--- a/ripd/subdir.am
+++ b/ripd/subdir.am
@@ -56,6 +56,6 @@ nodist_ripd_ripd_SOURCES = \
# end
ripd_ripd_snmp_la_SOURCES = ripd/rip_snmp.c
-ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu11
+ripd_ripd_snmp_la_CFLAGS = $(AM_CFLAGS) $(SNMP_CFLAGS) -std=gnu11
ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la