summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 03:14:46 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 03:14:46 +0200
commitefdc50344025d1081fbe35b2fab2d8948b0f36cb (patch)
tree3cc8b739cfa579a80930c806ea11e303d86b95dc
parent2d92361a1c279b3982fc7038f5e872dadc2590f6 (diff)
downloadsamba-efdc50344025d1081fbe35b2fab2d8948b0f36cb.tar.gz
samba-efdc50344025d1081fbe35b2fab2d8948b0f36cb.tar.bz2
samba-efdc50344025d1081fbe35b2fab2d8948b0f36cb.zip
MAXHOSTNAMELEN is already provided by libreplace if not by the system.
-rw-r--r--source3/include/includes.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 37ffee9223..bcd5fd3b48 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -908,14 +908,6 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid);
int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
#endif
-/*
- * Some older systems seem not to have MAXHOSTNAMELEN
- * defined.
- */
-#ifndef MAXHOSTNAMELEN
-#define MAXHOSTNAMELEN 255
-#endif
-
/* yuck, I'd like a better way of doing this */
#define DIRP_SIZE (256 + 32)