diff -aprNU5 gperf-3.0.3.orig/lib/getopt.c gperf-3.0.3/lib/getopt.c
--- gperf-3.0.3.orig/lib/getopt.c	2005-05-14 14:22:36 +0000
+++ gperf-3.0.3/lib/getopt.c	2007-05-10 01:31:06 +0000
@@ -29,10 +29,14 @@
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
+#ifdef __DJGPP__
+#include <string.h>
+#endif
+
 #if !defined __STDC__ || !__STDC__
 /* This is a separate conditional since some stdc systems
    reject `defined (const)'.  */
 #ifndef const
 #define const
diff -aprNU5 gperf-3.0.3.orig/src/version.cc gperf-3.0.3/src/version.cc
--- gperf-3.0.3.orig/src/version.cc	2007-04-06 09:01:02 +0000
+++ gperf-3.0.3/src/version.cc	2007-05-10 01:31:06 +0000
@@ -23,6 +23,6 @@
 
 /* Specification. */
 #include "version.h"
 
 /* Current release version. */
-const char *version_string = "3.0.3";
+const char *version_string = "3.0.3  (DJGPP port (r1))";
