[PATCH 24/24] Moded <sys/filio.h> test to <auto/headers>.

Alejandro Colomar alx.manpages at gmail.com
Sun Jun 19 15:00:41 UTC 2022


---
 auto/headers | 13 +++++++++++++
 auto/sockets | 13 -------------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/auto/headers b/auto/headers
index 835d4096..4449a999 100644
--- a/auto/headers
+++ b/auto/headers
@@ -133,6 +133,19 @@ nxt_feature_test="#include <sys/event.h>
 . auto/feature
 
 
+nxt_feature="<sys/filio.h>"
+nxt_feature_name=NXT_HAVE_SYS_FILIO_H
+nxt_feature_run=
+nxt_feature_incs=
+nxt_feature_libs=
+nxt_feature_test="#include <sys/filio.h>
+
+                  int main(void) {
+                      return 0;
+                  }"
+. auto/feature
+
+
 nxt_feature="<sys/mercury.h>"
 nxt_feature_name=NXT_HAVE_SYS_MERCURY_H
 nxt_feature_run=no
diff --git a/auto/sockets b/auto/sockets
index e344a3db..0835453d 100644
--- a/auto/sockets
+++ b/auto/sockets
@@ -213,19 +213,6 @@ if [ $NXT_SYSTEM != DragonFly ]; then
 fi
 
 
-nxt_feature="sys/filio.h"
-nxt_feature_name=NXT_HAVE_SYS_FILIO_H
-nxt_feature_run=
-nxt_feature_incs=
-nxt_feature_libs=
-nxt_feature_test="#include <sys/filio.h>
-
-                  int main() {
-                      return 0;
-                  }"
-. auto/feature
-
-
 nxt_feature="ioctl(FIONBIO)"
 nxt_feature_name=NXT_HAVE_FIONBIO
 nxt_feature_run=
-- 
2.36.1



More information about the unit mailing list