mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Fix building under -CURRENT (gcc 3.3)
Submitted by: Simon Barner <barner@in.tum.de>
This commit is contained in:
parent
cd8e340011
commit
9b92c3b817
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85526
26
x11-toolkits/wmapp/files/patch-wmapp.cc
Normal file
26
x11-toolkits/wmapp/files/patch-wmapp.cc
Normal file
@ -0,0 +1,26 @@
|
||||
--- wmapp.cc.orig Wed Jul 23 03:26:58 2003
|
||||
+++ wmapp.cc Wed Jul 23 03:28:59 2003
|
||||
@@ -4,11 +4,9 @@
|
||||
|
||||
using std::string;
|
||||
|
||||
-namespace Unix {
|
||||
- extern "C" {
|
||||
-# include <unistd.h> // for usleep()
|
||||
- }
|
||||
-};
|
||||
+extern "C" {
|
||||
+# include <unistd.h> // for usleep()
|
||||
+}
|
||||
|
||||
// All the xpms we need:
|
||||
namespace Xpms {
|
||||
@@ -254,7 +252,7 @@
|
||||
|
||||
while (true) {
|
||||
// sleep for the specified time in milliseconds
|
||||
- Unix::usleep(1000 * current()->updatefreq());
|
||||
+ usleep(1000 * current()->updatefreq());
|
||||
// execute any timed functions which need it
|
||||
current()->run_timed_functions();
|
||||
|
Loading…
Reference in New Issue
Block a user