aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys/param.h')
-rw-r--r--sysdeps/unix/sysv/linux/sys/param.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/param.h b/sysdeps/unix/sysv/linux/sys/param.h
index 759933f04c..83e581a77d 100644
--- a/sysdeps/unix/sysv/linux/sys/param.h
+++ b/sysdeps/unix/sysv/linux/sys/param.h
@@ -63,4 +63,7 @@
#define DEV_BSIZE 512
+/* Maximum length of hostname. */
+#define MAXHOSTNAMELEN 256
+
#endif /* sys/param.h */