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