From 0d15cbd5b6136d8a92a23895bd83eb322aa633ea Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sun, 19 Jun 2022 16:55:14 +0200 Subject: [PATCH] Removed unnecessary include. Some OSes, as Linux, provide FIONBIO in . Others, such as the BSDs and Illumos, provide it in , but they all include that header from , so for this test, we can simplify and just include . --- auto/sockets | 7 ------- 1 file changed, 7 deletions(-) diff --git a/auto/sockets b/auto/sockets index e6ef326d..e344a3db 100644 --- a/auto/sockets +++ b/auto/sockets @@ -225,12 +225,6 @@ nxt_feature_test="#include }" . auto/feature -if [ $nxt_found = yes ]; then - NXT_SYS_FILIO_H="#include " -else - NXT_SYS_FILIO_H= -fi - nxt_feature="ioctl(FIONBIO)" nxt_feature_name=NXT_HAVE_FIONBIO @@ -239,7 +233,6 @@ nxt_feature_incs= nxt_feature_libs= nxt_feature_test="#include #include - $NXT_SYS_FILIO_H #include int main() {