File motif-2.3.4-implicit-fortify-decl.patch of Package motif

diff -urN motif-2.3.4/clients/uil/UilDiags.c motif-2.3.4.patched/clients/uil/UilDiags.c
--- motif-2.3.4/clients/uil/UilDiags.c	2014-10-28 16:22:42.577555477 +0800
+++ motif-2.3.4.patched/clients/uil/UilDiags.c	2014-10-28 16:27:33.446919109 +0800
@@ -59,6 +59,7 @@
 **
 **/
 
+#define _GNU_SOURCE 1
 #include <stdio.h>
 #include <signal.h>
 #include <setjmp.h>
diff -urN motif-2.3.4/lib/Xm/XpmI.h motif-2.3.4.patched/lib/Xm/XpmI.h
--- motif-2.3.4/lib/Xm/XpmI.h	2014-10-28 05:36:31.371820171 +0800
+++ motif-2.3.4.patched/lib/Xm/XpmI.h	2014-10-28 15:47:30.540959567 +0800
@@ -111,6 +111,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <limits.h>
 #include <X11/Xmd.h>
 /* stdio.h doesn't declare popen on a Sequent DYNIX OS */
diff -urN motif-2.3.4/tools/wml/wml.c motif-2.3.4.patched/tools/wml/wml.c
--- motif-2.3.4/tools/wml/wml.c	2012-10-22 22:50:39.000000000 +0800
+++ motif-2.3.4.patched/tools/wml/wml.c	2014-10-28 15:43:48.876730752 +0800
@@ -80,6 +80,7 @@
 #endif
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 
 /*