diff options
author | Jeremy Allison <jra@samba.org> | 1998-07-07 19:25:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-07-07 19:25:46 +0000 |
commit | 734d66bb00d3eea3c4b07703c92b17a4afbabeb0 (patch) | |
tree | dfa3b27f80879c503a421cb4f7118a461beb635e /source3 | |
parent | 10dd9a6328df77cfc479164f61cb20f2be011b44 (diff) | |
download | samba-734d66bb00d3eea3c4b07703c92b17a4afbabeb0.tar.gz samba-734d66bb00d3eea3c4b07703c92b17a4afbabeb0.tar.bz2 samba-734d66bb00d3eea3c4b07703c92b17a4afbabeb0.zip |
includes.h: Fixes for QNX 4.x.
Jeremy.
(This used to be commit 6055be064ec1e9416bb9a7cd97a11976fb336fb6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 6eab1a1641..a821ce181f 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -89,6 +89,8 @@ #ifdef __386__ #define __i386__ #endif +#define SHADOW_PWD +#define NO_GETSPNAM #endif #ifdef NEWS42 @@ -959,8 +961,11 @@ extern char *getpass(char *); #endif #ifdef QNX +#include <arpa/inet.h> #define STATFS4 #include <sys/statfs.h> +/* Override QNX size of 32 to be 255 */ +#define FD_SETSIZE 255 #include <sys/select.h> #include <signal.h> #include <sys/dir.h> @@ -1106,7 +1111,7 @@ extern char *getsmbpass(char *); #endif /* Now for some other grungy stuff */ -#ifdef NO_GETSPNAM +#if defined(NO_GETSPNAM) && !defined(QNX) struct spwd { /* fake shadow password structure */ char *sp_pwdp; }; |