diff options
author | fluxgen <fluxgen> | 2002-03-20 11:50:36 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-03-20 11:50:36 (GMT) |
commit | c5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876 (patch) | |
tree | 591ced12697100cdf96201256589bf2c82797aae /src | |
parent | 10d6e7a35822b6ccd5a717581edad254dea20972 (diff) | |
download | fluxbox-c5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876.zip fluxbox-c5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876.tar.bz2 |
removed include BaseDisplay.hh and fixed include unistd.h
Diffstat (limited to 'src')
-rw-r--r-- | src/Timer.cc | 8 |
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 |
36 | BTimer::TimerList BTimer::m_timerlist; | 36 | BTimer::TimerList BTimer::m_timerlist; |
37 | 37 | ||
38 | BTimer::BTimer(TimeoutHandler *h): | 38 | BTimer::BTimer(TimeoutHandler *h): |
39 | m_handler(h), | 39 | m_handler(h), |
40 | m_timing(false) , | 40 | m_timing(false), |
41 | m_once(false) { | 41 | m_once(false) { |
42 | } | 42 | } |
43 | 43 | ||