summaryrefslogtreecommitdiff
path: root/libc/string/dirname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/dirname.c')
-rw-r--r--libc/string/dirname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/dirname.c b/libc/string/dirname.c
index a6242e238..6265e562e 100644
--- a/libc/string/dirname.c
+++ b/libc/string/dirname.c
@@ -6,6 +6,7 @@
*/
#include "_string.h"
+#include <libgen.h>
char *dirname(char *path)
{