string.diff   [plain text]


--- enscript-1.6.4/compat/getopt.c.orig	2003-03-04 23:26:17.000000000 -0800
+++ enscript-1.6.4/compat/getopt.c	2008-11-19 11:55:58.000000000 -0800
@@ -43,6 +43,7 @@
 #endif
 
 #include <stdio.h>
+#include <string.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C
--- enscript-1.6.4/compat/xalloc.c.orig	2003-03-04 23:26:17.000000000 -0800
+++ enscript-1.6.4/compat/xalloc.c	2008-11-19 11:56:18.000000000 -0800
@@ -25,6 +25,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>