summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2023-06-15 23:24:59 -0500
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-16 18:16:48 +0900
commitdc87c6b3298180c514cbf95d061830e532b732f0 (patch)
treee972d70ff4638518e29f164dab040baccd557330
parent597a5fc50711079fed5a8aae1bf2b3a4604baa06 (diff)
downloadarts-dc87c6b3298180c514cbf95d061830e532b732f0.tar.gz
arts-dc87c6b3298180c514cbf95d061830e532b732f0.zip
Use poll.h instead of sys/poll.h
poll.h is the standard header name, and musl warns for including the wrong one. Signed-off-by: Bobby Bingham <koorogi@koorogi.info> (cherry picked from commit 200e35e604bb7b5161e407eebfd01f105cfbafb6)
-rw-r--r--flow/gsl/gslcommon.c2
-rw-r--r--flow/gsl/gslopmaster.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/flow/gsl/gslcommon.c b/flow/gsl/gslcommon.c
index 6c8a692..b026e8e 100644
--- a/flow/gsl/gslcommon.c
+++ b/flow/gsl/gslcommon.c
@@ -22,7 +22,7 @@
#include <string.h>
#include <sched.h>
#include <errno.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/stat.h>
#include <sys/time.h>
diff --git a/flow/gsl/gslopmaster.c b/flow/gsl/gslopmaster.c
index 71940d6..fe198ac 100644
--- a/flow/gsl/gslopmaster.c
+++ b/flow/gsl/gslopmaster.c
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
#include <string.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/time.h>
#include <errno.h>