summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/serial_probe/serial.c1
-rw-r--r--tools/serial_probe/serial_probe.c2
2 files changed, 3 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>
diff --git a/tools/serial_probe/serial_probe.c b/tools/serial_probe/serial_probe.c
index 0f4f57af4..b8abb6917 100644
--- a/tools/serial_probe/serial_probe.c
+++ b/tools/serial_probe/serial_probe.c
@@ -17,6 +17,8 @@
*/
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#include "serial.h"
#include "device.h"