summaryrefslogtreecommitdiff
path: root/src/posix
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-30 11:50:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-30 11:50:25 +0000
commited9842b88802bf75b7e194434438df2ecb88d3aa (patch)
treedf81c0128b6f17e3305e0c9284b3ff0cf6779c10 /src/posix
parentd4ed432960c1bf54de426bdb53825c1c1b32112e (diff)
downloadexecline-ed9842b88802bf75b7e194434438df2ecb88d3aa.tar.xz
Fix build with skalibs-2.10.0.0
Diffstat (limited to 'src/posix')
-rw-r--r--src/posix/posix-cd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/posix/posix-cd.c b/src/posix/posix-cd.c
index cbeea5b..ee0b338 100644
--- a/src/posix/posix-cd.c
+++ b/src/posix/posix-cd.c
@@ -13,12 +13,14 @@
#include <skalibs/strerr2.h>
#include <skalibs/stralloc.h>
#include <skalibs/djbunix.h>
+#include <skalibs/env.h>
+#include <skalibs/exec.h>
#define USAGE "posix-cd [ -L | -P ] [ - | path ] [ prog... ]"
#define dieusage() strerr_dieusage(100, USAGE)
#define dienomem() strerr_diefu1sys(111, "stralloc_catb")
-int main (int argc, char const **argv, char const *const *envp)
+int main (int argc, char const **argv)
{
int phy = 0 ;
int dopwd = 0 ;