summaryrefslogtreecommitdiffstats
path: root/main/hylafax/gcc4.5.1.patch
blob: 0ac556a3cae35ec6006923c1016acd47b99b10f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure b/configure
index e49c08f..c6976fd 100755
--- a/configure
+++ b/configure
@@ -2882,7 +2882,7 @@ BuildPortDotH()
 	echo '#define HAS_FCHMOD 1'
 	Note "... configure use of fchmod"
 	CheckFuncDecl fchmod 'extern int fchmod(int, mode_t);' \
-	    unistd.h libc.h $OSFCNH sys/stat.h
+	    unistd.h $OSFCNH sys/stat.h libc.h
     }
     CheckFuncDecl mknod 'extern int mknod(const char*, mode_t, dev_t);' \
 	unistd.h sys/stat.h