diff --git a/applications/crash/eppic.c b/applications/crash/eppic.c index 92430c1..869cf15 100644 --- a/applications/crash/eppic.c +++ b/applications/crash/eppic.c @@ -16,6 +16,9 @@ * information. */ +/* unistd.h must appear before gdb includes in order for getopt() prototype definition to get included */ +#include + #include "gdb/defs.h" #include "target.h" #include "symtab.h" @@ -54,7 +57,6 @@ #include #include -#include #include #include