Răsfoiți Sursa

- linux 2.4 compilation fix from Stefan Sayer

Andrei Pelinescu-Onciul 20 ani în urmă
părinte
comite
0054114a20
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      io_wait.h

+ 1 - 1
io_wait.h

@@ -286,13 +286,13 @@ inline static int io_watch_add(	io_wait_h* h,
 	struct fd_map* e;
 	struct fd_map* e;
 	int flags;
 	int flags;
 #ifdef HAVE_EPOLL
 #ifdef HAVE_EPOLL
-	int n;
 	struct epoll_event ep_event;
 	struct epoll_event ep_event;
 #endif
 #endif
 #ifdef HAVE_DEVPOLL
 #ifdef HAVE_DEVPOLL
 	struct pollfd pfd;
 	struct pollfd pfd;
 #endif
 #endif
 #if defined(HAVE_SIGIO_RT) || defined (HAVE_EPOLL)
 #if defined(HAVE_SIGIO_RT) || defined (HAVE_EPOLL)
+	int n;
 	int idx;
 	int idx;
 	int check_io;
 	int check_io;
 	struct pollfd pf;
 	struct pollfd pf;