gcc-4.3-missing-common-declarations.diff:
--- dtool/src/dtoolbase/dtoolbase.h 2007-04-18 15:51:36.000000000 -0600
+++ dtool/src/dtoolbase/dtoolbase.h 2008-06-29 20:24:39.000000000 -0600
@@ -92,6 +92,11 @@
#include <assert.h>
#ifdef __GNUC__
+// Make sure that we get the proper declarations for memset, and other
+// basic stuff
+#include <string.h>
+#include <stdlib.h>
+#include <limits.h>
// Large file >2GB support
// this needs be be before systypes.h and other C headers
#define _FILE_OFFSET_BITS 64