summaryrefslogtreecommitdiff
path: root/src/libs6rc/s6rc_livedir_create.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-12-21 11:48:36 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-12-21 11:48:36 +0000
commit027040540dd36cae5b416c6706fe5ac348f9be24 (patch)
treec4de5cdb5c8ccec1c70b1b32b60df520eb0d2603 /src/libs6rc/s6rc_livedir_create.c
parent4870ccf23a36c5ccf4a6a4cc1ff6f086a028ed7d (diff)
downloads6-rc-027040540dd36cae5b416c6706fe5ac348f9be24.tar.xz
Work around NetBSD and Solaris braindeadness
Diffstat (limited to 'src/libs6rc/s6rc_livedir_create.c')
-rw-r--r--src/libs6rc/s6rc_livedir_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs6rc/s6rc_livedir_create.c b/src/libs6rc/s6rc_livedir_create.c
index e1fd896..2ac70de 100644
--- a/src/libs6rc/s6rc_livedir_create.c
+++ b/src/libs6rc/s6rc_livedir_create.c
@@ -1,5 +1,6 @@
/* ISC license. */
+#include <skalibs/nonposix.h> /* Solaris doesn't know mkdtemp() is POSIX */
#include <sys/stat.h>
#include <errno.h>
#include <string.h>