summaryrefslogtreecommitdiff
path: root/distro/packages/patches/m4-s_isdir.patch
blob: a009a4ba44650cbb48e670aae8ad7d4fbc2ff09c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Fails to build with glibc 2.12.1 without this patch.

http://lists.gnu.org/archive/html/bug-m4/2010-05/msg00002.html

--- a/src/path.c
+++ b/src/path.c
@@ -22,6 +22,7 @@
 /* Handling of path search of included files via the builtins "include"
    and "sinclude".  */
 
 #include "m4.h"
+#include "sys/stat.h"
 
 struct includes