diff options
author | Jeremy Allison <jra@samba.org> | 1997-12-23 07:15:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-12-23 07:15:59 +0000 |
commit | d1e796d8577a666e5ef14f9bb462c080300dca3e (patch) | |
tree | 49a485ff08054c613b585c741d11f7dfbc197c0c /source3/include/includes.h | |
parent | 74c807fcc5a02a5a5b0ea06ddf2bc65e85938716 (diff) | |
download | samba-d1e796d8577a666e5ef14f9bb462c080300dca3e.tar.gz samba-d1e796d8577a666e5ef14f9bb462c080300dca3e.tar.bz2 samba-d1e796d8577a666e5ef14f9bb462c080300dca3e.zip |
Fixes to compile under OpenBSD from "Todd T. Fries" <toddf@acm.org>
Jeremy.
(This used to be commit 3c9292505914e2119fa7b1973c9fbbe1742262b2)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 6c2b676b31..c99880cad3 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -193,7 +193,7 @@ #include <pwdadj.h> #endif -#if defined(SHADOW_PWD) && !defined(NETBSD) && !defined(FreeBSD) && !defined(CONVEX) +#if defined(SHADOW_PWD) && !defined(NETBSD) && !defined(FreeBSD) && !defined(CONVEX) && !defined(__OpenBSD__) #include <shadow.h> #endif @@ -523,7 +523,21 @@ char *mktemp(char *); /* No standard include */ #define HAVE_GETGRNAM 1 #endif - +#ifdef __OpenBSD__ +#include <strings.h> +#include <netinet/tcp.h> +#define NO_GETSPNAM +#define SIGNAL_CAST (void (*)()) +#define USE_DIRECT +#define REPLACE_INNETGR +#define HAVE_BZERO +#define HAVE_PATHCONF +#define HAVE_GETGRNAM 1 +#define HAVE_GETTIMEOFDAY +#define HAVE_MEMMOVE +#define USE_GETCWD +#define USE_SETSID +#endif #ifdef AIX #include <strings.h> |