Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | With glibc 2.27 memfd_create is behind a _GNU_SOURCE guard, so call |
| 2 | AC_USE_SYSTEM_EXTENSIONS to get that defined. |
| 3 | |
| 4 | Upstream-Status: Submitted |
| 5 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
| 6 | |
| 7 | diff --git a/configure.ac b/configure.ac |
| 8 | index 0c98875..ebf4dee 100644 |
| 9 | --- a/configure.ac |
| 10 | +++ b/configure.ac |
| 11 | @@ -29,4 +29,6 @@ AC_CONFIG_SRCDIR([Makefile.am]) |
| 12 | AC_CONFIG_HEADERS([config.h]) |
| 13 | |
| 14 | +AC_USE_SYSTEM_EXTENSIONS |
| 15 | + |
| 16 | # Initialize Automake |
| 17 | AM_INIT_AUTOMAKE([foreign dist-bzip2]) |