$OpenBSD: patch-configure_ac,v 1.13 2021/02/27 20:56:03 sthen Exp $

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -1833,7 +1833,7 @@ AC_DEFINE(NEED_OPTARG, 1, [Defined if extern char *opt
 AC_MSG_CHECKING([for st_mtim.tv_nsec])
 AC_COMPILE_IFELSE(
   [AC_LANG_PROGRAM(
-     [[#include <sys/fcntl.h>]],
+     [[#include <sys/stat.h>]],
      [[struct stat s;
        return(s.st_mtim.tv_nsec);
       ]])],
