summaryrefslogtreecommitdiff
path: root/source4/include/system
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-30 23:10:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:15 -0500
commitecbf28630ef0fbd91838001e03f8c6d29a8d4232 (patch)
tree24867d0cd90d0d60b625651b50037e4589efe14e /source4/include/system
parent819eeaef328fcc330700b2626d17c5447ffd3589 (diff)
downloadsamba-ecbf28630ef0fbd91838001e03f8c6d29a8d4232.tar.gz
samba-ecbf28630ef0fbd91838001e03f8c6d29a8d4232.tar.bz2
samba-ecbf28630ef0fbd91838001e03f8c6d29a8d4232.zip
r10664: Include limits.h in replace.h for HOST_NAME_MAX
(This used to be commit dc3dc796746de672dbf3ad0e4715e8b30ae4afb7)
Diffstat (limited to 'source4/include/system')
-rw-r--r--source4/include/system/filesys.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/source4/include/system/filesys.h b/source4/include/system/filesys.h
index 589bf9b0d9..e81eec13e9 100644
--- a/source4/include/system/filesys.h
+++ b/source4/include/system/filesys.h
@@ -103,25 +103,11 @@
#include <sys/xattr.h>
#endif
-/* Load header file for dynamic linking stuff */
-#ifdef HAVE_DLFCN_H
-#include <dlfcn.h>
-#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
-
-
-#ifndef RTLD_LAZY
-#define RTLD_LAZY 0
-#endif
-
-
/* Some POSIX definitions for those without */
#ifndef S_IFDIR
@@ -171,14 +157,6 @@
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif
-#ifndef HAVE_RENAME
-int rename(const char *zfrom, const char *zto);
-#endif
-
-#ifndef HAVE_FTRUNCATE
-int ftruncate(int f,long l);
-#endif
-
#ifndef MAXPATHLEN
#define MAXPATHLEN 256
#endif