$NetBSD: patch-aa,v 1.3 2007/08/01 17:00:03 joerg Exp $

--- select.c.orig	2007-08-01 18:53:42.000000000 +0200
+++ select.c
@@ -47,6 +47,9 @@
 #ifdef CHECK_INVARIANTS
 #include <assert.h>
 #endif
+#ifdef _AIX
+#include <sys/select.h>
+#endif
 
 #include "event.h"
 #include "event-internal.h"
