$NetBSD: patch-aj,v 1.2 2006/02/25 13:31:03 wiz Exp $

--- glib/gmain.c.orig	2006-02-24 15:02:53.000000000 +0100
+++ glib/gmain.c
@@ -52,7 +52,7 @@
 /* The poll() emulation on OS/X doesn't handle fds=NULL, nfds=0,
  * so we prefer our own poll emulation.
  */
-#ifdef _POLL_EMUL_H_
+#ifdef __APPLE__
 #undef HAVE_POLL
 #endif
    
