summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep1/files/patch-hostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep1/files/patch-hostname.c')
-rw-r--r--x11-wm/afterstep1/files/patch-hostname.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-wm/afterstep1/files/patch-hostname.c b/x11-wm/afterstep1/files/patch-hostname.c
new file mode 100644
index 000000000000..bb18385d6af0
--- /dev/null
+++ b/x11-wm/afterstep1/files/patch-hostname.c
@@ -0,0 +1,10 @@
+--- lib/hostname.c.orig 1996-08-21 14:23:34 UTC
++++ lib/hostname.c
+@@ -3,6 +3,7 @@
+ #if HAVE_UNAME
+ /* define mygethostname() by using uname() */
+
++#include <string.h>
+ #include <sys/utsname.h>
+
+ int mygethostname(char *client, int length)