r5284: this is needed on my server
authorStefan Metzmacher <metze@samba.org>
Wed, 9 Feb 2005 13:51:14 +0000 (13:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:36 +0000 (13:09 -0500)
+/* this #undef is needed on my SuSE 9.2 Box with glibc-devel-2.3.3-118 */
+#undef u32

as sys/epoll.h has this:
typedef union epoll_data
{
  void *ptr;
  int fd;
  uint32_t u32;
  uint64_t u64;
} epoll_data_t;

metze
(This used to be commit b4928f3ea8f6530317dfa76593cf93e6acd4337a)

source4/lib/events/events.c

index cf165c99dcd073463b5c9115e7ca8b22e2b6428b..408fe8c6f13dcfa4eed797da79848b046396f1bc 100644 (file)
@@ -66,6 +66,8 @@
 #endif
 
 #if WITH_EPOLL
+/* this #undef is needed on my SuSE 9.2 Box with glibc-devel-2.3.3-118 */
+#undef u32
 #include <sys/epoll.h>
 #endif