1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00

r10664: Include limits.h in replace.h for HOST_NAME_MAX

This commit is contained in:
Jelmer Vernooij
2005-09-30 23:10:20 +00:00
committed by Gerald (Jerry) Carter
parent 57cfbe51e6
commit dc3dc79674
2 changed files with 21 additions and 22 deletions

View File

@@ -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