fd-t-definition-fun-20090323
authorDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 04:31:13 +0000 (04:31 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 04:31:13 +0000 (04:31 +0000)
LICENSE IPL10

make FD_t be defined everywhere we need it

src/libadmin/vos/afs_vosAdmin.c
src/vol/devname.c

index 0550590..5468bfa 100644 (file)
@@ -33,14 +33,6 @@ RCSID
 #include <afs/vlserver.h>
 #include <afs/volser.h>
 #include <afs/volint.h>
-#include <afs/ihandle.h>
-#include <afs/partition.h>
-#include <rx/rx.h>
-#include <rx/rxstat.h>
-#include <afs/afs_utilAdmin.h>
-#include "vosutils.h"
-#include "vsprocs.h"
-#include "lockprocs.h"
 
 /* File descriptors are HANDLE's on NT. The following typedef helps catch
  * type errors. Duplicated from vol/ihandle.h
@@ -52,6 +44,14 @@ typedef int FD_t;
 #endif
 #define INVALID_FD ((FD_t)-1)
 
+#include <afs/partition.h>
+#include <rx/rx.h>
+#include <rx/rxstat.h>
+#include <afs/afs_utilAdmin.h>
+#include "vosutils.h"
+#include "vsprocs.h"
+#include "lockprocs.h"
+
 typedef struct file_server {
     int begin_magic;
     int is_valid;
index 4ef3de4..02aaead 100644 (file)
@@ -82,6 +82,7 @@ RCSID
 #ifndef ITIMER_REAL
 #include <sys/time.h>
 #endif /* ITIMER_REAL */
+#include "ihandle.h"
 #include "partition.h"
 
 /* ensure that we don't have a "/" instead of a "/dev/rxd0a" type of device.