From 9b92c3b817c75a0b071a1b17fad6e05d73983aa5 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Thu, 24 Jul 2003 15:00:44 +0000 Subject: Fix building under -CURRENT (gcc 3.3) Submitted by: Simon Barner --- x11-toolkits/wmapp/files/patch-wmapp.cc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 x11-toolkits/wmapp/files/patch-wmapp.cc (limited to 'x11-toolkits/wmapp') diff --git a/x11-toolkits/wmapp/files/patch-wmapp.cc b/x11-toolkits/wmapp/files/patch-wmapp.cc new file mode 100644 index 000000000000..2ed5fd681bfa --- /dev/null +++ b/x11-toolkits/wmapp/files/patch-wmapp.cc @@ -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 // for usleep() +- } +-}; ++extern "C" { ++# include // 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(); + -- cgit v1.2.3