Fix bug for build in solaris
authorBoris Savelev <boris@etersoft.ru>
Mon, 28 Apr 2008 14:33:39 +0000 (18:33 +0400)
committerKonstantin Kondratyuk <kondratyuk@etersoft.ru>
Mon, 28 Apr 2008 14:33:39 +0000 (18:33 +0400)
server/fd.c

index 3ea1b75526d21195a9f2192dc25d568a8475caae..19513a6a513e4395a1c9065bcb4fee1ba11630c9 100644 (file)
@@ -98,6 +98,18 @@ inline void dummy_trace(void *f, ...) { }
 #include <sys/types.h>
 #include <unistd.h>
 
+/*
+struct list is defined at sys/list_impl.h on solaris
+this patches work around it.
+*/
+#define list WINELIST
+#define list_remove WINELIST_REMOVE
+#define list_next WINELIST_NEXT
+#define list_prev WINELIST_PREV
+#define list_head WINELIST_HEAD
+#define list_tail WINELIST_TAIL
+#define list_move_tail WINELIST_MOVE_TAIL
+
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
 #include "object.h"