summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch')
-rw-r--r--meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch b/meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch
new file mode 100644
index 000000000..d647eca0a
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm-1.99.7/processcreds.patch
@@ -0,0 +1,12 @@
1Index: gpm-1.99.7/src/daemon/processconn.c
2===================================================================
3--- gpm-1.99.7.orig/src/daemon/processconn.c 2010-09-29 17:36:18.571782951 +0400
4+++ gpm-1.99.7/src/daemon/processconn.c 2010-09-29 17:42:44.659991758 +0400
5@@ -20,6 +20,7 @@
6 *
7 ********/
8
9+#define _GNU_SOURCE
10 #include <sys/socket.h> /* accept */
11 #include <stdlib.h> /* malloc */
12 #include <unistd.h> /* close */