Detect and use sys/select.h required by POSIX for select

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-08-09 11:18:24 +00:00
parent 6dc001c8bd
commit bc023abbbb
11 changed files with 195 additions and 6 deletions

View File

@@ -70,6 +70,9 @@
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#endif // HAVE_POLL/!HAVE_POLL
#include "wx/unix/private.h"

View File

@@ -74,6 +74,9 @@
#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#endif // HAVE_POLL/!HAVE_POLL
#include "wx/unix/private.h"

View File

@@ -45,6 +45,10 @@
#include "wx/unix/private.h"
#include "wx/motif/private.h"
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
static bool CheckForKeyUp(XEvent* event);
static bool CheckForKeyDown(XEvent* event);
static bool CheckForAccelerator(XEvent* event);

View File

@@ -39,6 +39,10 @@
#include <netdb.h>
#include <sys/ioctl.h>
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
#ifdef __VMS__
#include <socket.h>
struct sockaddr_un

View File

@@ -29,6 +29,10 @@
#include <fcntl.h>
#include <unistd.h>
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
#include "wx/unix/private.h"
enum {

View File

@@ -39,6 +39,10 @@
#include <pwd.h>
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
#define HAS_PIPE_INPUT_STREAM (wxUSE_STREAMS && wxUSE_FILE)
#if HAS_PIPE_INPUT_STREAM

View File

@@ -42,6 +42,10 @@
#include <sys/time.h>
#include <unistd.h>
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif
#if wxUSE_SOCKETS
// ----------------------------------------------------------------------------
// wxSocketTable