summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-19 09:56:38 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-19 09:56:38 +0000
commit4d80d489d4c3f1c8ecbfe73ad73a63b74ad56ad9 (patch)
tree7ea0516ef5299a9efb82af8d842a9f8aecf42b13 /src
parent26283cd9e6e778a00d1e2acba716771f4416c188 (diff)
downloads6-rc-4d80d489d4c3f1c8ecbfe73ad73a63b74ad56ad9.tar.xz
Workaround for a Solaris bug (incorrect mkdtemp guarding)
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc-update.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s6-rc/s6-rc-update.c b/src/s6-rc/s6-rc-update.c
index c4d9510..dcf38e7 100644
--- a/src/s6-rc/s6-rc-update.c
+++ b/src/s6-rc/s6-rc-update.c
@@ -1,5 +1,6 @@
/* ISC license. */
+#include <skalibs/nonposix.h> /* Solaris doesn't know mkdtemp() is POSIX */
#include <string.h>
#include <stdint.h>
#include <sys/stat.h>