provided in the system headers along with the definition of
gethostname().
git-svn-id: svn://svn.tartarus.org/sgt/agedu@9721
cda61777-01e9-0310-a592-
d414129be87e
# include <netdb.h>
#endif
# include <netdb.h>
#endif
+#ifndef HOST_NAME_MAX
+/* Reportedly at least one Solaris fails to comply with its POSIX
+ * requirement to define this (see POSIX spec for gethostname) */
+#define HOST_NAME_MAX 255 /* upper bound specified in SUS */
+#endif
+
#define PNAME "agedu"
#define DUMPHDR "agedu dump file. pathsep="
#define PNAME "agedu"
#define DUMPHDR "agedu dump file. pathsep="