Browse Source

glibc compatibility ;)

master
Felix von Leitner 18 years ago
parent
commit
9b54168cfb
  1. 1
      io/io_dontwantread.c
  2. 1
      io/io_dontwantwrite.c
  3. 5
      io/io_fd.c
  4. 1
      io/io_waituntil2.c
  5. 1
      io/io_wantread.c
  6. 1
      io/io_wantwrite.c

1
io/io_dontwantread.c

@ -8,6 +8,7 @@
#include <sys/time.h>
#endif
#ifdef HAVE_EPOLL
#include <inttypes.h>
#include <sys/epoll.h>
#endif

1
io/io_dontwantwrite.c

@ -8,6 +8,7 @@
#include <sys/time.h>
#endif
#ifdef HAVE_EPOLL
#include <inttypes.h>
#include <sys/epoll.h>
#endif

5
io/io_fd.c

@ -1,10 +1,11 @@
#define _GNU_SOURCE
#define extern
#include "io_internal.h"
#undef extern
#ifdef HAVE_SIGIO
#define _GNU_SOURCE
#include <sys/poll.h>
#include <signal.h>
#include <fcntl.h>
#endif
#include <sys/types.h>
#include <fcntl.h>
@ -13,8 +14,10 @@
#include <sys/event.h>
#endif
#ifdef HAVE_EPOLL
#include <inttypes.h>
#include <sys/epoll.h>
#endif
#include <unistd.h>
/* put d on internal data structure, return 1 on success, 0 on error */
int io_fd(int64 d) {

1
io/io_waituntil2.c

@ -11,6 +11,7 @@
#include <sys/event.h>
#endif
#ifdef HAVE_EPOLL
#include <inttypes.h>
#include <sys/epoll.h>
#endif

1
io/io_wantread.c

@ -8,6 +8,7 @@
#include <sys/time.h>
#endif
#ifdef HAVE_EPOLL
#include <inttypes.h>
#include <sys/epoll.h>
#endif
#ifdef HAVE_SIGIO

1
io/io_wantwrite.c

@ -8,6 +8,7 @@
#include <sys/time.h>
#endif
#ifdef HAVE_EPOLL
#include <inttypes.h>
#include <sys/epoll.h>
#endif
#ifdef HAVE_SIGIO

Loading…
Cancel
Save