diff options
author | Roland McGrath <roland@redhat.com> | 2004-10-20 02:17:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2004-10-20 02:17:41 +0000 |
commit | 6e52d23cc6a6084802422652e28e9bf4434a7406 (patch) | |
tree | cf659eb8f277a037df6bc4d5131d7a7bbe921e29 /desc.c | |
parent | 63d6e54c8bc29c3d4f7c391165c6199788e9622b (diff) | |
download | strace-6e52d23cc6a6084802422652e28e9bf4434a7406.tar.gz |
2004-10-19 Roland McGrath <roland@redhat.com>
* configure.ac: Check for sys/epoll.h.
* desc.c: Protect #include <sys/epoll.h> with [HAVE_SYS_EPOLL_H].
(epollctls, epollevents): Protect each entry with #ifdef on its macro.
Diffstat (limited to 'desc.c')
-rw-r--r-- | desc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -645,7 +645,7 @@ struct tcb *tcp; else { #ifdef HAVE_SYS_EPOLL_H struct epoll_event ev; - else if (umove(tcp, tcp->u_arg[3], &ev) == 0) + if (umove(tcp, tcp->u_arg[3], &ev) == 0) print_epoll_event(&ev); else #endif |