compile fix: FD_ZERO (sys/select.h) on solaris wants to use memset(); closes #2997117

This commit is contained in:
Mathias Gumz 2010-05-06 21:19:31 +02:00
parent 5be5edc1e5
commit 615e9cec32
2 changed files with 10 additions and 5 deletions

View file

@ -36,15 +36,21 @@
#include "config.h"
#endif // HAVE_CONFIG_H
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#ifdef HAVE_CASSERT
#include <cassert>
#else
#include <assert.h>
#endif
// sys/select.h on solaris wants to use memset()
#ifdef HAVE_CSTRING
# include <cstring>
#else
# include <string.h>
#endif
#include <sys/select.h>
namespace FbTk {
Timer::TimerList Timer::m_timerlist;

View file

@ -45,7 +45,6 @@
#endif // HAVE_INTTYPES_H
#include <sys/types.h>
#include <sys/select.h>
#include <sys/time.h>
#include <unistd.h>