summaryrefslogtreecommitdiffstats
path: root/net/mosh/patches/010-ffs.patch
blob: 7df9a0754c7c638e3757ba21a7f5896246bcf13a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/configure.ac
+++ b/configure.ac
@@ -425,7 +425,8 @@ AC_CHECK_DECL([mach_absolute_time],
 AC_CHECK_DECLS([__builtin_ctz])
 
 AC_CHECK_DECLS([ffs], [], [],
-  [[#include <strings.h>]])
+  [[#define _GNU_SOURCE
+#include <strings.h>]])
 
 AC_CHECK_DECLS([be64toh, betoh64, bswap64, __builtin_bswap64], [], [],
   [[#if defined(HAVE_ENDIAN_H)