diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-06-04 22:15:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-06-04 22:15:12 +0000 |
commit | 2dbb4324e39cf62fac4debcf075390d5f6298589 (patch) | |
tree | 6232ff4ae75725b9002da259f52ad99da7a48de6 /capture.c | |
parent | 290fc65130eb62f42ca0c1cb26c9cee1d336320e (diff) |
From Michael Tuexen: treat Darwin/MacOS X like the other BSDs, as its
BPF, in at least some OS versions, acts like the other BPFs in some
versions of other BSDs, and doesn't work with "select()".
svn path=/trunk/; revision=5620
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.175 2002/06/04 11:19:59 guy Exp $ + * $Id: capture.c,v 1.176 2002/06/04 22:15:12 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -113,11 +113,11 @@ * XXX - the various BSDs appear to define BSD in <sys/param.h>; we don't * want to include it if it's not present on this platform, however. */ -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) #ifndef BSD #define BSD #endif /* BSD */ -#endif /* defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) */ +#endif /* defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) */ /* * We don't want to do a "select()" on the pcap_t's file descriptor on |