trace: use standard POSIX header for basename()
[project/procd.git] / trace / trace.c
index 6fd321f0f339c897f2a11d57f36ddaeb8a6f0daf..e257d89c00c891b0ee8b9836bab4d1ae73dd8707 100644 (file)
@@ -23,7 +23,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
-#include <string.h>
+#include <libgen.h>
 #include <syslog.h>
 #include <limits.h>