summaryrefslogtreecommitdiffstats
path: root/libiptc
diff options
context:
space:
mode:
authorkadlec <kadlec>2004-05-14 08:21:06 +0000
committerkadlec <kadlec>2004-05-14 08:21:06 +0000
commit94739a3a64a67a5acbb1038d2a9d347c654db447 (patch)
tree329400ee4c3f9a3c533968c102c75f69af99f7c1 /libiptc
parentd3511ab94523454c0f78a83722c29e395fb0331d (diff)
Compiler warnings due to missing include files (Stephane Ouellette)
Diffstat (limited to 'libiptc')
-rw-r--r--libiptc/libiptc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c
index 3aacb54..9821586 100644
--- a/libiptc/libiptc.c
+++ b/libiptc/libiptc.c
@@ -1,4 +1,4 @@
-/* Library which manipulates firewall rules. Version $Revision: 1.43 $ */
+/* Library which manipulates firewall rules. Version $Revision: 1.44 $ */
/* Architecture of firewall rules is as follows:
*
@@ -20,6 +20,9 @@
* up after a ruleset change.
*/
+#include<sys/types.h>
+#include<sys/socket.h>
+
#ifndef IPT_LIB_DIR
#define IPT_LIB_DIR "/usr/local/lib/iptables"
#endif