* sim/ucsim/cmd.src/cmdutil.cc: #include <sys/time.h> and <unistd.h>
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 1 Sep 2006 18:06:34 +0000 (18:06 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 1 Sep 2006 18:06:34 +0000 (18:06 +0000)
  to make ppc-osx happy

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4353 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
sim/ucsim/cmd.src/cmdutil.cc

index 01e5afc9817e62810a3769f49ef395056a5cc36d..f94884a739dd1b90b620a8bbd07016772ead4013 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-01 Borut Razem <borut.razem AT siol.net>
+
+       * sim/ucsim/cmd.src/cmdutil.cc: #include <sys/time.h> and <unistd.h>
+         to make ppc-osx happy
+
 2006-08-31 Borut Razem <borut.razem AT siol.net>
 
        * sim/ucsim/cmd.src/newcmdposix.cc: #include <assert.h>
index c6820e9baedeb43272ef08db018e8ea23e427019..067a3afcd53df6ec693528643b2cb653a67d2358 100644 (file)
@@ -32,6 +32,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include <stdlib.h>
 #include <ctype.h>
 #include <assert.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #ifdef SOCKET_AVAIL
 # include HEADER_SOCKET
@@ -40,6 +41,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #  include <arpa/inet.h>
 # endif
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 #ifdef _WIN32
 #include <malloc.h>
 #endif