[lib] Fix #includes for OpenBSD
libowlps now builds on OpenBSD (4.9)!
This commit is contained in:
parent
65487af736
commit
95b9ea30bf
|
@ -13,6 +13,8 @@
|
|||
#include <time.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#define DEBUG
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <signal.h>
|
||||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <confuse.h>
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
// Used by get_mac_addr():
|
||||
#include <netinet/udp.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue