From 57eb2154e3adb9b5abff4233cda22c84803cfe24 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 3 Apr 2002 23:21:34 +0000 Subject: [PATCH] getopt --- panda/src/testbed/pgrid.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/testbed/pgrid.cxx b/panda/src/testbed/pgrid.cxx index 4d3e8f35ac..dd88addf4c 100644 --- a/panda/src/testbed/pgrid.cxx +++ b/panda/src/testbed/pgrid.cxx @@ -23,7 +23,11 @@ #include "string_utils.h" #include "pvector.h" +#ifdef HAVE_GETOPT #include +#else +#include "gnu_getopt.h" +#endif #define RANDFRAC (rand()/(float)(RAND_MAX))