Skip to content
Snippets Groups Projects
Commit 7d84b64f authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added <sys/poll.h> fallback.

Rev: src/modules/files/file.c:1.124
parent e2698168
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
\*/
#include "global.h"
RCSID("$Id: file.c,v 1.123 1998/09/01 17:02:28 hubbe Exp $");
RCSID("$Id: file.c,v 1.124 1998/09/20 17:53:08 grubba Exp $");
#include "fdlib.h"
#include "interpret.h"
#include "svalue.h"
......@@ -668,8 +668,16 @@ static void file_read(INT32 args)
}
#ifdef HAVE_AND_USE_POLL
#ifdef HAVE_POLL_H
#include <poll.h>
#else
#else /* !HAVE_POLL_H */
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#else /* !HAVE_SYS_POLL_H */
#undef HAVE_AND_USE_POLL
#endif /* HAVE_SYS_POLL_H */
#endif /* HAVE_POLL_H */
#else /* HAVE_AND_USE_POLL */
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment