diff --git a/src/rootcheck/os_string.c b/src/rootcheck/os_string.c
index e7ca284..85b6d9b 100644
--- a/src/rootcheck/os_string.c
+++ b/src/rootcheck/os_string.c
@@ -44,7 +44,7 @@
 
 #ifdef SOLARIS
 #include <sys/exechdr.h>
-#elif defined Darwin || defined HPUX
+#elif defined Darwin || defined HPUX || defined linux
 
 /* For some reason darwin does not have that */
 struct exec {
