summaryrefslogtreecommitdiff
path: root/misc/sys/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/param.h')
-rw-r--r--misc/sys/param.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/sys/param.h b/misc/sys/param.h
index 62b7ed26f4..7e0e331450 100644
--- a/misc/sys/param.h
+++ b/misc/sys/param.h
@@ -1,5 +1,5 @@
/* Compatibility header for old-style Unix parameters and limits.
- Copyright (C) 1995-2015 Free Software Foundation, Inc.
+ Copyright (C) 1995-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -50,6 +50,9 @@
#if !defined NOFILE && defined OPEN_MAX
# define NOFILE OPEN_MAX
#endif
+#if !defined MAXHOSTNAMELEN && defined HOST_NAME_MAX
+# define MAXHOSTNAMELEN HOST_NAME_MAX
+#endif
#ifndef NCARGS
# ifdef ARG_MAX
# define NCARGS ARG_MAX