summaryrefslogtreecommitdiffstats
path: root/mcop
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-05-13 12:14:29 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-05-13 20:08:32 +0900
commitbee9a082a3ff7a18268b8d15b893f888d423ad5e (patch)
tree57579243b2bad558589c1f372d8eb5e244b9930d /mcop
parentc4af0692ce0404b2b4ad4cc6dac8351f19e3e977 (diff)
downloadarts-bee9a082a3ff7a18268b8d15b893f888d423ad5e.tar.gz
arts-bee9a082a3ff7a18268b8d15b893f888d423ad5e.zip
include string.h for illumos based systems
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'mcop')
-rw-r--r--mcop/iomanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcop/iomanager.cpp b/mcop/iomanager.cpp
index 897a61c..31709f9 100644
--- a/mcop/iomanager.cpp
+++ b/mcop/iomanager.cpp
@@ -29,6 +29,9 @@
#include "thread.h"
#include <stdio.h>
#include <fcntl.h>
+#if defined(__dilos__)
+#include <string.h> /* in illumos memset() is defined here */
+#endif /* __dilos__ */
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h> // Needed on some systems.