summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-09-25 00:25:44 +0000
committerJeremy Allison <jra@samba.org>1997-09-25 00:25:44 +0000
commit6dd6b1383c0ed10c0897dea44f247befc15b03cc (patch)
tree15bbb7c529c166770de49c11590bf0f5dc8975f2 /source3/include/includes.h
parent81eb442e88e8231b8e9c556c1ee393e99269af78 (diff)
downloadsamba-6dd6b1383c0ed10c0897dea44f247befc15b03cc.tar.gz
samba-6dd6b1383c0ed10c0897dea44f247befc15b03cc.tar.bz2
samba-6dd6b1383c0ed10c0897dea44f247befc15b03cc.zip
Makefile: Removed earlier errors.
includes.h: Added INADDR_LOOPBACK define. locking.c: More code to support oplocks. proto.h: Updated. server.c: More code to support oplocks. Moved processing of an SMB out of process() into a separate function so it is easier to call from an oplock break. smb.h: Added oplock fields. Jeremy (jallison@whistle.com) (This used to be commit f46dbaf08eb8e06a7545d2c19dce9e2dda9dcc78)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index e66ceb2d70..2329553d23 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1194,6 +1194,10 @@ it works and getting lots of bug reports */
#define QSORT_CAST (int (*)())
#endif
+#ifndef INADDR_LOOPBACK
+#define INADDR_LOOPBACK 0x7f000001
+#endif /* INADDR_LOOPBACK */
+
/* this is a rough check to see if this machine has a lstat() call.
it is not guaranteed to work */
#if !(defined(S_ISLNK) || defined(S_IFLNK))