David Rose 24 years ago
parent
commit
57eb2154e3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      panda/src/testbed/pgrid.cxx

+ 4 - 0
panda/src/testbed/pgrid.cxx

@@ -23,7 +23,11 @@
 #include "string_utils.h"
 #include "pvector.h"
 
+#ifdef HAVE_GETOPT
 #include <getopt.h>
+#else
+#include "gnu_getopt.h"
+#endif
 
 
 #define RANDFRAC (rand()/(float)(RAND_MAX))