summaryrefslogtreecommitdiffstats
path: root/libiptc
diff options
context:
space:
mode:
authorStephane Ouellette <ouellettes@videotron.ca>2004-05-14 08:21:06 +0000
committerJoszef Kadlecsik <kadlec@blackhole.kfki.hu>2004-05-14 08:21:06 +0000
commit7cd002826d0f329620cb738bc4dc4760ef5e084a (patch)
tree329400ee4c3f9a3c533968c102c75f69af99f7c1 /libiptc
parent114608849951fdc6fdee1a0be7c35f5d86e38bee (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 3aacb547..98215866 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