Skip to contentSkip to conversation

fix conntrack compilation

PATCH In review Eric Leblond 2 participants 2 messages Jun 5, 2006 – Jun 19, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix conntrack compilation

Hello,

It seems that subversion version of conntrack tool does not compile to due the lack of inclusion of "config.h".

The attached patch fixes this issue.

BR,

Signature · 3 lines
Éric Leblond, [email protected]
Téléphone : 01 44 89 46 39, Fax : 01 44 89 45 01
INL, http://www.inl.fr
conntrack.h +4 -0
Index: include/conntrack.h
===================================================================
@@ -1,6 +1,10 @@
 #ifndef _CONNTRACK_H
 #define _CONNTRACK_H
 
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+
 #include "linux_list.h"
 #include <getopt.h>
 #include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#1 lore raw
Quoted 2 lines · Eric Leblond

It seems that subversion version of conntrack tool does not compile to due the lack of inclusion of "config.h".

I have no idea if this is "the right fix", but I trust someone will flame me if not, so applied :) Thanks.