Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2008-06-06 16:06:43 +0200
committerArthur de Jong <arthur@arthurdejong.org>2008-06-06 16:06:43 +0200
commit4a86f16e54efbf9693529c1bfd2b947146913583 (patch)
tree6971db94a5d0f455ddcb94a3a6804c2737a28b00 /compat
parentdacd740209fc1fcf474cf247156cfd3bd2b57c7f (diff)
miscellaneous portability improvements
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@742 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'compat')
-rw-r--r--compat/ether.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/compat/ether.c b/compat/ether.c
index 1374f97..707adf7 100644
--- a/compat/ether.c
+++ b/compat/ether.c
@@ -22,6 +22,14 @@
#include "config.h"
#include <string.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <net/if.h>
+#include <netinet/in.h>
+#include <netinet/if_ether.h>
+#ifdef HAVE_NETINET_ETHER_H
+#include <netinet/ether.h>
+#endif
#include "ether.h"