Permalink
Browse files

Bug fix for perl FKO compilation

This commit removes lib/ includes of common/ header files that was breaking
the perl FKO module compilation.
  • Loading branch information...
1 parent 04e0c9b commit eaba5813f349fed37664e5832c58f1e1404b7406 @mrash committed Nov 29, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −0 lib/fko_message.c
  2. +0 −3 lib/fko_message.h
View
6 lib/fko_message.c
@@ -33,6 +33,12 @@
#include "fko_message.h"
#include "fko.h"
+/* for inet_aton() IP validation
+*/
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
static int
have_allow_ip(const char *msg)
{
View
3 lib/fko_message.h
@@ -32,9 +32,6 @@
#ifndef FKO_MESSAGE_H
#define FKO_MESSAGE_H 1
-#include "common.h"
-#include "netinet_common.h"
-
#define MAX_PROTO_STR_LEN 4 /* tcp, udp, icmp for now */
#define MAX_PORT_STR_LEN 5

0 comments on commit eaba581

Please sign in to comment.