From: Howard Chu Date: Thu, 21 Sep 2006 18:00:01 +0000 (+0000) Subject: Just include one or the other of poll.h or sys/poll.h X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~109 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8e58e3eb4bfad1f513857af02a5d49f92999148;p=openldap Just include one or the other of poll.h or sys/poll.h --- diff --git a/include/ac/socket.h b/include/ac/socket.h index 4f2ed14812..f7534b9e32 100644 --- a/include/ac/socket.h +++ b/include/ac/socket.h @@ -23,8 +23,7 @@ #ifdef HAVE_POLL_H #include -#endif -#ifdef HAVE_SYS_POLL_H +#elif defined(HAVE_SYS_POLL_H) #include #endif