summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-09-23 19:19:06 +0000
committerJeremy Allison <jra@samba.org>1997-09-23 19:19:06 +0000
commit81eb442e88e8231b8e9c556c1ee393e99269af78 (patch)
tree0d9d7fda9d4556ef4bfb329fd9321b24c84f8c41 /source3/include/includes.h
parentb3c610541b7284cbd59827b13af86a457268ae96 (diff)
downloadsamba-81eb442e88e8231b8e9c556c1ee393e99269af78.tar.gz
samba-81eb442e88e8231b8e9c556c1ee393e99269af78.tar.bz2
samba-81eb442e88e8231b8e9c556c1ee393e99269af78.zip
Checkin to sync up oplock development code so that NT
domain development code won't diverge. Makefile: Fixed make proto (again). Added GLIBC2 fixes for Linux. includes.h: Added GLIBC2 fixes for Linux. proto.h: Much tidier. quotas.c: OSF/1 quota fix. reply.c: Fix from Ray Frush <frush@engr.colostate.edu> for zero NT timestamps. server.c util.c: First oplock checkin - nowhere near finished so bracketed with #ifdef USE_OPLOCKS. Done to make sync with NT domain code easier. Jeremy (jallison@whistle.com) (This used to be commit 7dce7d84473beb5663b14a8ab32781970819c19d)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index a63f8f8597..e66ceb2d70 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -217,6 +217,14 @@ Here come some platform specific sections
#ifndef NO_ASMSIGNALH
#include <asm/signal.h>
#endif
+#ifdef GLIBC2
+#define _LINUX_C_LIB_VERSION_MAJOR 6
+#include <termios.h>
+#include <rpcsvc/ypclnt.h>
+#include <crypt.h>
+#include <netinet/tcp.h>
+#include <netinet/ip.h>
+#endif
#define SIGNAL_CAST (__sighandler_t)
#define USE_GETCWD
#define USE_SETSID