diff --git a/xpcom/libxpt/tools/xpt_dump.c b/xpcom/libxpt/tools/xpt_dump.c index 239509ed1731083485d3da50af053ac38c5885b2..7ed8d119ce5320378c17267dbf58f7e602c9f270 100644 --- a/xpcom/libxpt/tools/xpt_dump.c +++ b/xpcom/libxpt/tools/xpt_dump.c @@ -23,9 +23,7 @@ #include "xpt_xdr.h" #include <stdio.h> #include <sys/stat.h> -#ifndef WIN32 -#include <unistd.h> -#endif +#include <stdlib.h> #include <string.h> #include "prprf.h" diff --git a/xpcom/typelib/xpt/tools/xpt_dump.c b/xpcom/typelib/xpt/tools/xpt_dump.c index 239509ed1731083485d3da50af053ac38c5885b2..7ed8d119ce5320378c17267dbf58f7e602c9f270 100644 --- a/xpcom/typelib/xpt/tools/xpt_dump.c +++ b/xpcom/typelib/xpt/tools/xpt_dump.c @@ -23,9 +23,7 @@ #include "xpt_xdr.h" #include <stdio.h> #include <sys/stat.h> -#ifndef WIN32 -#include <unistd.h> -#endif +#include <stdlib.h> #include <string.h> #include "prprf.h"