[lib] Fix #includes for OpenBSD

libowlps now builds on OpenBSD (4.9)!
This commit is contained in:
Matteo Cypriani 2011-06-23 13:16:58 +02:00
parent 65487af736
commit 95b9ea30bf
4 changed files with 10 additions and 2 deletions

View File

@ -13,6 +13,8 @@
#include <time.h>
#include <signal.h>
#include <arpa/inet.h>
#include <assert.h>
#define DEBUG

View File

@ -11,8 +11,12 @@ extern "C" {
#include <stdint.h> // We'll use <cstdint> with C++ 0x
#include <arpa/inet.h>
#include <net/ethernet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
// Port on which the positioning request is sent by the mobile:

View File

@ -13,6 +13,7 @@
#include <signal.h>
#include <pthread.h>
#include <semaphore.h>
#include <arpa/inet.h>
#include <confuse.h>

View File

@ -28,6 +28,7 @@
// Used by get_mac_addr():
#include <netinet/udp.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
#include <assert.h>