This fix restores the order of include path such that the local include/ comes before the system /usr/include in the #include path. Thus by making sure that include/linux/types.h and include/linux/openvswitch.h take precedence over the similar files in /usr/include/ directory.
Signed-off-by: Pritesh Kothari <pritesh.koth...@cisco.com> --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index dd0a111..9039389 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,12 +18,12 @@ AM_CPPFLAGS += $(PTHREAD_INCLUDES) AM_LDFLAGS += $(PTHREAD_LDFLAGS) endif -AM_CPPFLAGS += $(SSL_INCLUDES) - AM_CPPFLAGS += -I $(top_srcdir)/include AM_CPPFLAGS += -I $(top_srcdir)/lib AM_CPPFLAGS += -I $(top_builddir)/lib +AM_CPPFLAGS += $(SSL_INCLUDES) + AM_CFLAGS = -Wstrict-prototypes AM_CFLAGS += $(WARNING_FLAGS) -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev