Fixing gcc 3.3 compile failures -- fix for x11-toolkits/wmapp
Simon Barner
barner at in.tum.de
Wed Jul 23 06:25:06 PDT 2003
--- 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();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030723/e258317e/attachment.bin
More information about the freebsd-current
mailing list