Fix FreeBSD/OSX compile problem due to headers

This commit is contained in:
Johanna Amann 2016-06-02 16:26:54 -07:00
parent a2423f7d43
commit 800eda4796
3 changed files with 12 additions and 2 deletions

View file

@ -3,7 +3,12 @@
#ifndef conn_h
#define conn_h
#ifdef HAVE_NETINET_ETHER_H
#include <netinet/ether.h>
#endif
#ifdef HAVE_NET_ETHERNET_H
#include <net/ethernet.h>
#endif
#include <sys/types.h>
#include "Dict.h"