summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--partition.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index 4626a5ff6..d038c38f1 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -24,6 +24,7 @@
#include <sys/mount.h>
#include <unistd.h>
#include <dirent.h>
+#include <libgen.h>
#include <iostream>
#include <sstream>
#include <sys/param.h>