summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-11 00:20:51 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-07-11 00:20:51 +1000
commit4e880e632be69861af52a90dcdf337deb60ca536 (patch)
tree903cb380012e0e5e2f5900115fa4c4b3f6f12f94 /openbsd-compat/openbsd-compat.h
parentda3455356100dbcb5d1ff9f0556386ca5f788795 (diff)
- (dtucker) [openbsd-compat/openbsd-compat.h] Need to include <sys/socket.h>
for struct sockaddr on platforms that use the fake-rfc stuff.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index 6231e03a..8b885178 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -1,4 +1,4 @@
-/* $Id: openbsd-compat.h,v 1.38 2006/07/10 11:33:05 djm Exp $ */
+/* $Id: openbsd-compat.h,v 1.39 2006/07/10 14:20:52 dtucker Exp $ */
/*
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@@ -34,6 +34,8 @@
#include <sys/types.h>
#include <pwd.h>
+#include <sys/socket.h>
+
/* OpenBSD function replacements */
#include "base64.h"
#include "sigact.h"