summaryrefslogtreecommitdiff
path: root/dev-embedded/sdcc/files/sdcc-4.3.0-fix-mkdir-autoconf-test.patch
blob: 9a0be653ba2889b938445bf6d094e91ce9564c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix implicit function declaration in configure logs: mkdir
https://bugs.gentoo.org/898594

--- a/support/cpp/configure.ac
+++ b/support/cpp/configure.ac
@@ -2317,6 +2317,7 @@
 ################################################################################
 
 # mkdir takes a single argument on some systems.
+AC_CHECK_HEADERS([sys/stat.h])
 gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG
 
 # File extensions