pkgsrc/www/curl/patches/patch-ac
cube 21752a9e5a Add a patch that re-orders inclusion of select.h to avoid compilation
errors on NetBSD 1.6.

PKGREVISION++.
PR#28859 by Gilles Gravier.
2005-01-07 09:37:21 +00:00

19 lines
365 B
Text

$NetBSD: patch-ac,v 1.1 2005/01/07 09:37:21 cube Exp $
--- lib/select.c.orig Sun Nov 28 22:55:42 2004
+++ lib/select.c
@@ -23,11 +23,11 @@
#include "setup.h"
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
#endif
#ifdef HAVE_SYS_TIME_H