include string.h for illumos based systems

Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit bee9a082a3)
r14.1.x
Denis Kozadaev 1 year ago committed by Michele Calgaro
parent c4af0692ce
commit 87f910f9f9
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -29,6 +29,9 @@
#include "thread.h" #include "thread.h"
#include <stdio.h> #include <stdio.h>
#include <fcntl.h> #include <fcntl.h>
#if defined(__dilos__)
#include <string.h> /* in illumos memset() is defined here */
#endif /* __dilos__ */
#ifdef HAVE_SYS_SELECT_H #ifdef HAVE_SYS_SELECT_H
#include <sys/select.h> // Needed on some systems. #include <sys/select.h> // Needed on some systems.

Loading…
Cancel
Save