summaryrefslogtreecommitdiff
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 6231e03a2..8b885178c 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -1,4 +1,4 @@
1/* $Id: openbsd-compat.h,v 1.38 2006/07/10 11:33:05 djm Exp $ */ 1/* $Id: openbsd-compat.h,v 1.39 2006/07/10 14:20:52 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved. 4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@@ -34,6 +34,8 @@
34#include <sys/types.h> 34#include <sys/types.h>
35#include <pwd.h> 35#include <pwd.h>
36 36
37#include <sys/socket.h>
38
37/* OpenBSD function replacements */ 39/* OpenBSD function replacements */
38#include "base64.h" 40#include "base64.h"
39#include "sigact.h" 41#include "sigact.h"