summaryrefslogtreecommitdiff
path: root/sysutils/agedu/files/patch-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/agedu/files/patch-httpd.c')
-rw-r--r--sysutils/agedu/files/patch-httpd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/agedu/files/patch-httpd.c b/sysutils/agedu/files/patch-httpd.c
new file mode 100644
index 000000000000..6c9b7c50a3c6
--- /dev/null
+++ b/sysutils/agedu/files/patch-httpd.c
@@ -0,0 +1,11 @@
+--- httpd.c.orig 2020-07-05 01:20:14 UTC
++++ httpd.c
+@@ -570,7 +570,7 @@ static int make_listening_sockets(struct listenfds *fd
+ portstr = NULL; /* normalise NULL and empty string */
+
+ if (!address) {
+- char hostname[HOST_NAME_MAX];
++ char hostname[_POSIX_HOST_NAME_MAX];
+ if (gethostname(hostname, sizeof(hostname)) < 0) {
+ perror("hostname");
+ return -1;