From 14a98b2ab8af5ff1fd2dc4dfe66d525b005c6143 Mon Sep 17 00:00:00 2001
From: "coop%netscape.com" <coop%netscape.com>
Date: Wed, 17 Feb 1999 17:36:01 +0000
Subject: [PATCH] NOT YET PART OF SEAMONKEY: * replaces reference to unistd.h
 by stdlib.h

---
 xpcom/libxpt/tools/xpt_dump.c      | 4 +---
 xpcom/typelib/xpt/tools/xpt_dump.c | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/xpcom/libxpt/tools/xpt_dump.c b/xpcom/libxpt/tools/xpt_dump.c
index 239509ed17310..7ed8d119ce532 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 239509ed17310..7ed8d119ce532 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"
 
-- 
GitLab