Moved all references to file descriptors out of the generic object
structure.
Changed the poll()-related routines to deal with file descriptors
instead of objects and integrated poll support into fd.c.

diff --git a/server/queue.c b/server/queue.c
index 32caefe..48edb23 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -30,6 +30,7 @@
 #include "winuser.h"
 
 #include "handle.h"
+#include "file.h"
 #include "thread.h"
 #include "process.h"
 #include "request.h"
@@ -181,7 +182,7 @@
 {
     struct thread_input *input;
 
-    if ((input = alloc_object( &thread_input_ops, -1 )))
+    if ((input = alloc_object( &thread_input_ops )))
     {
         input->focus       = 0;
         input->capture     = 0;
@@ -204,7 +205,7 @@
     int i;
 
     if (!input && !(input = create_thread_input())) return NULL;
-    if ((queue = alloc_object( &msg_queue_ops, -1 )))
+    if ((queue = alloc_object( &msg_queue_ops )))
     {
         queue->wake_bits       = 0;
         queue->wake_mask       = 0;