about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-15 15:53:21 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-15 15:53:21 +0000
commiteacd84f514ee97ecee50e26a8b37c888a9eb6adb (patch)
treed631beaaaf7ddc7ab792416011986934195c3d37
parent6dfe54be869c117676dcc004400ac68096945531 (diff)
downloadexecline-eacd84f514ee97ecee50e26a8b37c888a9eb6adb.tar.gz
execline-eacd84f514ee97ecee50e26a8b37c888a9eb6adb.tar.xz
execline-eacd84f514ee97ecee50e26a8b37c888a9eb6adb.zip
bsdsnowflake is a lighter approach than nonposix
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/execline/eltest.c2
-rwxr-xr-xtools/gen-multicall.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/execline/eltest.c b/src/execline/eltest.c
index 68b828e..1478f36 100644
--- a/src/execline/eltest.c
+++ b/src/execline/eltest.c
@@ -1,6 +1,6 @@
 /* ISC license. */
 
-#include <skalibs/nonposix.h>
+#include <skalibs/bsdsnowflake.h>
 
 #include <unistd.h>
 #include <string.h>
diff --git a/tools/gen-multicall.sh b/tools/gen-multicall.sh
index 959d87b..e862f0d 100755
--- a/tools/gen-multicall.sh
+++ b/tools/gen-multicall.sh
@@ -5,6 +5,7 @@ LC_ALL=C ; export LC_ALL
 echo '/* ISC license. */'
 echo
 echo '#include <skalibs/nonposix.h>'
+echo '#include <skalibs/bsdsnowflake.h>'
 echo
 { echo '#include <string.h>' ; echo '#include <stdlib.h>' ; cat src/execline/*.c | grep '^#include <' | grep -vF '<skalibs/' | grep -vF '<execline/' ; } | sort -u