X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/aea73b94eceda699dd5208e2a78e39af7d6756d4..9039a573e839b8e3535001da1cd6bc7ff0482f83:/agedu.h diff --git a/agedu.h b/agedu.h index b0052f0..ec035d4 100644 --- a/agedu.h +++ b/agedu.h @@ -92,6 +92,12 @@ # include #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="