소스 검색

- linux 2.4 compilation fix from Stefan Sayer

Andrei Pelinescu-Onciul 20 년 전
부모
커밋
0054114a20
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;