include string.h for illumos based systems

Signed-off-by: Denis Kozadaev <denis@dilos.org>
pull/9/head
Denis Kozadaev 2 years ago committed by Michele Calgaro
parent c4af0692ce
commit bee9a082a3
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