Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit eaba5813f349fed37664e5832c58f1e1404b7406 1 parent 04e0c9b
@mrash authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.