author | ecalot
<ecalot> 2005-05-15 02:29:57 UTC |
committer | ecalot
<ecalot> 2005-05-15 02:29:57 UTC |
parent | c4af73369146707627fbae88893a3139f90b12e9 |
FP/src/main.c | +7 | -1 |
diff --git a/FP/src/main.c b/FP/src/main.c index ceb4cd0..029b204 100644 --- a/FP/src/main.c +++ b/FP/src/main.c @@ -30,10 +30,16 @@ main.c: FreePrince : Main function - parsing DO NOT remove this copyright notice */ -#define _GNU_SOURCE #include <SDL/SDL.h> /* Mac OS X entry point redefinition */ #include <unistd.h> + +#ifdef ENABLE_GETOPT +#include "getopt.h" +#else +#define _GNU_SOURCE #include <getopt.h> +#endif + #include "kernel.h" #include "main.h" #include <stdio.h>