summaryrefslogtreecommitdiff
path: root/auto/os/linux
diff options
context:
space:
mode:
Diffstat (limited to 'auto/os/linux')
-rw-r--r--auto/os/linux2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto/os/linux b/auto/os/linux
index f3c6722c4..8c140b388 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -26,6 +26,8 @@ CC_AUX_FLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
version=`grep "#define LINUX_VERSION_CODE" /usr/include/linux/version.h \
| sed -e 's/^.* \(.*\)$/\1/'`
+version=${version:-0}
+
# enable the rt signals on Linux 2.2.19 and onward