aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/dirname.c')
-rw-r--r--toys/posix/dirname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/posix/dirname.c b/toys/posix/dirname.c
index 06470ad8..7f51e9f0 100644
--- a/toys/posix/dirname.c
+++ b/toys/posix/dirname.c
@@ -16,6 +16,7 @@ config DIRNAME
*/
#include "toys.h"
+#include <libgen.h>
void dirname_main(void)
{