summaryrefslogtreecommitdiffstats
path: root/tools/serial_probe/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/serial_probe/serial.c')
-rw-r--r--tools/serial_probe/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/serial_probe/serial.c b/tools/serial_probe/serial.c
index d0e7c19bd..ef575d6c3 100644
--- a/tools/serial_probe/serial.c
+++ b/tools/serial_probe/serial.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <signal.h>
#include <time.h>
+#include <libgen.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>