mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
Fix previous patch. We have to include unistd.h for FreeBSD
This commit is contained in:
parent
d76901000b
commit
eb1c052f09
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60488
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
@ -1,11 +1,13 @@
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Fri May 31 17:18:14 2002
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Fri May 31 17:18:16 2002
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <strhelper.hxx>
|
||||
#include <string.h>
|
||||
|
||||
-#ifdef SOLARIS
|
||||
+#ifdef SOLARIS || FREEBSD
|
||||
// Solaris 2.5.1 misses it in unistd.h
|
||||
--- ../vcl/unx/source/app/rptpsound.cxx.orig Wed Oct 24 18:32:21 2001
|
||||
+++ ../vcl/unx/source/app/rptpsound.cxx Sun Jun 2 22:01:07 2002
|
||||
@@ -78,6 +78,10 @@
|
||||
extern "C" int usleep(unsigned int);
|
||||
#endif
|
||||
|
||||
+#ifdef FREEBSD
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef _USE_NAMESPACE
|
||||
using namespace vcl_sal;
|
||||
using namespace vos;
|
||||
|
Loading…
Reference in New Issue
Block a user