[vlc-commits] configure: fix pollfd test ordering

Rémi Denis-Courmont git at videolan.org
Mon Jun 8 17:03:06 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun  8 18:02:45 2020 +0300| [1546046800c6212921cd08e85abb764a381b2b12] | committer: Rémi Denis-Courmont

configure: fix pollfd test ordering

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1546046800c6212921cd08e85abb764a381b2b12
---

 configure.ac | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/configure.ac b/configure.ac
index 090132f7ef..ace580ef66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -729,16 +729,6 @@ esac
 
 AH_BOTTOM([#include <vlc_fixups.h>])
 
-dnl Check for struct pollfd
-AC_CHECK_TYPES([struct pollfd],,,
-[#include <sys/types.h>
-#if HAVE_POLL_H
-# include <poll.h>
-#elif defined (_WIN32)
-# include <winsock2.h>
-#endif
-])
-
 dnl Check for struct timespec
 AC_CHECK_TYPES([struct timespec],,,
 [#include <time.h>])
@@ -971,6 +961,16 @@ AC_CHECK_HEADERS([features.h getopt.h linux/dccp.h linux/magic.h sys/eventfd.h])
 dnl  MacOS
 AC_CHECK_HEADERS([xlocale.h])
 
+dnl Check for struct pollfd
+AC_CHECK_TYPES([struct pollfd],,,
+[#include <sys/types.h>
+#if HAVE_POLL_H
+# include <poll.h>
+#elif defined (_WIN32)
+# include <winsock2.h>
+#endif
+])
+
 dnl Check if C++ headers define locale_t
 AC_LANG_PUSH(C++)
 AC_CACHE_CHECK([if C++ headers define locale_t],



More information about the vlc-commits mailing list