mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-19 02:00:06 +02:00
25 lines
608 B
Plaintext
25 lines
608 B
Plaintext
From 99253c7ddefbe8a6c7c7203183f479b8a6b038a9 Mon Sep 17 00:00:00 2001
|
|
From: Schrijvers Luc <begasus@gmail.com>
|
|
Date: Sun, 12 Jan 2025 08:57:01 +0100
|
|
Subject: Add #include <sys/select.h> for missing fd_set
|
|
|
|
|
|
diff --git a/src/include/R_ext/eventloop.h b/src/include/R_ext/eventloop.h
|
|
index 951b422..a636579 100644
|
|
--- a/src/include/R_ext/eventloop.h
|
|
+++ b/src/include/R_ext/eventloop.h
|
|
@@ -43,6 +43,10 @@
|
|
/* NOTE: At one time needed on FreeBSD so that fd_set is defined. */
|
|
#include <sys/types.h>
|
|
|
|
+#ifdef __HAIKU__
|
|
+#include <sys/select.h>
|
|
+#endif
|
|
+
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
--
|
|
2.48.1
|
|
|