summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index a7caa07..92f51bd 100755
--- a/configure
+++ b/configure
@@ -268,6 +268,7 @@ cat > $TMPC << EOF
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
+#include <linux/openat2.h>
int main(int argc, char **argv)
{
struct open_how how;
@@ -433,6 +434,10 @@ struct open_how {
};
EOF
+else cat >> $compat_h << EOF
+#include <linux/openat2.h>
+
+EOF
fi
cat >> $compat_h << EOF