include file compilation fix for OpenBSD relative to inet_aton() IP verification

This commit is contained in:
Michael Rash
2012-09-03 22:18:59 -04:00
parent b05d229bb1
commit 8d26cc90ee
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -29,8 +29,8 @@
*
*****************************************************************************
*/
#include "fko_message.h"
#include "fko_common.h"
#include "fko_message.h"
#include "fko.h"
/* Set the SPA message type.
+7 -2
View File
@@ -32,8 +32,13 @@
#ifndef FKO_MESSAGE_H
#define FKO_MESSAGE_H 1
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#if PLATFORM_OPENBSD
#include <sys/types.h>
#include <netinet/in.h>
#else
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#endif
#include <arpa/inet.h>