Browse Source

- linux 2.4 compilation fix from Stefan Sayer

Andrei Pelinescu-Onciul 20 years ago
parent
commit
0054114a20
1 changed files with 1 additions and 1 deletions
  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;
 	int flags;
 #ifdef HAVE_EPOLL
-	int n;
 	struct epoll_event ep_event;
 #endif
 #ifdef HAVE_DEVPOLL
 	struct pollfd pfd;
 #endif
 #if defined(HAVE_SIGIO_RT) || defined (HAVE_EPOLL)
+	int n;
 	int idx;
 	int check_io;
 	struct pollfd pf;