removed include BaseDisplay.hh and fixed include unistd.h

This commit is contained in:
fluxgen 2002-03-20 11:50:36 +00:00
parent 10d6e7a358
commit c5d1f0239d

View file

@ -19,8 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// stupid macros needed to access some functions in version 2 of the GNU C //use GNU extensions
// library
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
# define _GNU_SOURCE # define _GNU_SOURCE
#endif // _GNU_SOURCE #endif // _GNU_SOURCE
@ -29,15 +28,16 @@
# include "../config.h" # include "../config.h"
#endif // HAVE_CONFIG_H #endif // HAVE_CONFIG_H
#include "BaseDisplay.hh"
#include "Timer.hh" #include "Timer.hh"
#include <sys/types.h>
#include <unistd.h>
//static var //static var
BTimer::TimerList BTimer::m_timerlist; BTimer::TimerList BTimer::m_timerlist;
BTimer::BTimer(TimeoutHandler *h): BTimer::BTimer(TimeoutHandler *h):
m_handler(h), m_handler(h),
m_timing(false) , m_timing(false),
m_once(false) { m_once(false) {
} }