aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-03-20 11:50:36 (GMT)
committerfluxgen <fluxgen>2002-03-20 11:50:36 (GMT)
commitc5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876 (patch)
tree591ced12697100cdf96201256589bf2c82797aae
parent10d6e7a35822b6ccd5a717581edad254dea20972 (diff)
downloadfluxbox-c5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876.zip
fluxbox-c5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876.tar.bz2
removed include BaseDisplay.hh and fixed include unistd.h
-rw-r--r--src/Timer.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Timer.cc b/src/Timer.cc
index ba695e1..47f70de 100644
--- a/src/Timer.cc
+++ b/src/Timer.cc
@@ -19,8 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// stupid macros needed to access some functions in version 2 of the GNU C 22//use GNU extensions
23// library
24#ifndef _GNU_SOURCE 23#ifndef _GNU_SOURCE
25# define _GNU_SOURCE 24# define _GNU_SOURCE
26#endif // _GNU_SOURCE 25#endif // _GNU_SOURCE
@@ -29,15 +28,16 @@
29# include "../config.h" 28# include "../config.h"
30#endif // HAVE_CONFIG_H 29#endif // HAVE_CONFIG_H
31 30
32#include "BaseDisplay.hh"
33#include "Timer.hh" 31#include "Timer.hh"
32#include <sys/types.h>
33#include <unistd.h>
34 34
35//static var 35//static var
36BTimer::TimerList BTimer::m_timerlist; 36BTimer::TimerList BTimer::m_timerlist;
37 37
38BTimer::BTimer(TimeoutHandler *h): 38BTimer::BTimer(TimeoutHandler *h):
39m_handler(h), 39m_handler(h),
40m_timing(false) , 40m_timing(false),
41m_once(false) { 41m_once(false) {
42} 42}
43 43