summarylogtreecommitdiffstats
path: root/ubuntu_buildfix_kernel_4.0.patch
blob: 91ae3ea24f4593408b21f53381141d2f442cedbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 15.7/common/lib/modules/fglrx/build_mod/kcl_str.c
+++ 15.7b/common/lib/modules/fglrx/build_mod/kcl_str.c
@@ -42,6 +42,10 @@
 #include "kcl_type.h"
 #include "kcl_str.h"
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
+#define strnicmp strncasecmp
+#endif
+
 /** \brief Fill memory with a constant byte
  *  \param s Pointer to memory
  *  \param c Initializing value