Remove headers which are provided by libroken, and reorder header
includes so that they're a bit a more legible.
Change-Id: I47f804e455d0251dc30c5d5be2433f3ee7611fae
Reviewed-on: http://gerrit.openafs.org/4404
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/stds.h>
#include <roken.h>
-#include <sys/types.h>
-#include <errno.h>
-#ifdef AFS_NT40_ENV
-#include <winsock2.h>
-#else
-#include <sys/socket.h>
-#include <sys/file.h>
-#include <netdb.h>
-#include <arpa/inet.h>
-#endif
-#ifdef HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#endif
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <string.h>
-#include <sys/stat.h>
#include <afs/afsutil.h>
-#include <afs/stds.h>
#include <afs/cmd.h>
-#include <stdio.h>
-
#include <rx/rx_user.h>
#include <rx/rx_clock.h>
#include <rx/rx_queue.h>
#ifdef RXDEBUG
-#include <string.h>
-#ifdef AFS_NT40_ENV
-#include <fcntl.h>
-#include <io.h>
-#else
-#include <sys/file.h>
-#include <unistd.h>
-#endif
+
+#include <roken.h>
+
+#include <afs/afsutil.h>
+
#include "rx.h"
#include "rx_globals.h"
#include "rx_trace.h"
afs_uint32 event;
};
-#include <errno.h>
-#ifdef AFS_NT40_ENV
-#include <afs/afsutil.h>
-#endif
-
int
main(int argc, char **argv)
{