summaryrefslogtreecommitdiffstats
path: root/roots.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roots.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/roots.cpp b/roots.cpp
index ca37cf149..3bd680157 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -22,8 +22,10 @@
#include <unistd.h>
#include <ctype.h>
+extern "C" {
#include "mtdutils/mtdutils.h"
#include "mtdutils/mounts.h"
+}
#include "roots.h"
#include "common.h"
#include "make_ext4fs.h"