summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/main.cc b/sim/main.cc
index 891931c2b..4352a90f4 100644
--- a/sim/main.cc
+++ b/sim/main.cc
@@ -31,6 +31,7 @@
///
#include <sys/types.h>
#include <sys/stat.h>
+#include <errno.h>
#include <libgen.h>
#include <stdlib.h>
#include <signal.h>