mirror of
https://github.com/coolsnowwolf/lede
synced 2025-01-08 11:47:42 +08:00
procd: use standard POSIX header for basename()
This commit is contained in:
parent
4ebc73897e
commit
3022abc26c
@ -0,0 +1,13 @@
|
||||
diff --git a/trace/trace.c b/trace/trace.c
|
||||
index 6fd321f..e257d89 100644
|
||||
--- a/trace/trace.c
|
||||
+++ b/trace/trace.c
|
||||
@@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user