From df284f45a332b950f93cc83aa9345d25ff3cb642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Wed, 29 Apr 1998 02:29:53 +0200 Subject: [PATCH] Some systems that have poll(2) use <sys/poll.h> instead of <poll.h>. Rev: src/builtin_functions.c:1.103 --- src/builtin_functions.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/builtin_functions.c b/src/builtin_functions.c index 8e974e357b..316ede6bd9 100644 --- a/src/builtin_functions.c +++ b/src/builtin_functions.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: builtin_functions.c,v 1.102 1998/04/27 10:01:56 hubbe Exp $"); +RCSID("$Id: builtin_functions.c,v 1.103 1998/04/29 00:29:53 grubba Exp $"); #include "interpret.h" #include "svalue.h" #include "pike_macros.h" @@ -38,7 +38,13 @@ RCSID("$Id: builtin_functions.c,v 1.102 1998/04/27 10:01:56 hubbe Exp $"); #include "cyclic.h" #ifdef HAVE_POLL +#ifdef HAVE_POLL_H #include <poll.h> +#endif /* HAVE_POLL_H */ + +#ifdef HAVE_SYS_POLL_H +#include <sys/poll.h> +#endif /* HAVE_SYS_POLL_H */ #endif /* HAVE_POLL */ #ifdef HAVE_CRYPT_H -- GitLab