summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/main.cc b/sim/main.cc
index 1748294af..d4c31d5f2 100644
--- a/sim/main.cc
+++ b/sim/main.cc
@@ -31,6 +31,7 @@
///
#include <sys/types.h>
#include <sys/stat.h>
+#include <libgen.h>
#include <stdlib.h>
#include <signal.h>