summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/gcc-9-asan-fix-limits-include.patch
blob: 2f5ce7c697fe84419b6e6b9dc4dbabca5faa9171 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libsanitizer/asan/asan_linux.cc b/libsanitizer/asan/asan_linux.cc
index d92d0596b7c..7926536a0c3 100644
--- a/libsanitizer/asan/asan_linux.cc
+++ b/libsanitizer/asan/asan_linux.cc
@@ -30,7 +30,7 @@
 #include <sys/types.h>
 #include <dlfcn.h>
 #include <fcntl.h>
-#include <limits.h>
+#include <linux/limits.h>
 #include <pthread.h>
 #include <stdio.h>
 #include <unistd.h>