summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-19 09:00:06 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-19 09:00:06 +0000
commit620402a833a4e42590a26390d2b7a39fd39e3ea9 (patch)
treee51054af412411f92f070c5cdc5b4fa53c79e1a0 /compat.h
parent3f7e2589cdc27b59499806caa4d945f5c808d360 (diff)
This is a better fix for OS X stupidity.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compat.h b/compat.h
index b04386f6..7f914b89 100644
--- a/compat.h
+++ b/compat.h
@@ -1,4 +1,4 @@
-/* $Id: compat.h,v 1.10 2009-08-16 16:15:53 nicm Exp $ */
+/* $Id: compat.h,v 1.11 2009-08-19 09:00:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -45,6 +45,8 @@
#ifdef HAVE_POLL
#include <poll.h>
#else
+#define POLLNVAL 0
+#define POLLHUP 0
#include "compat/bsd-poll.h"
#endif