tests: Tidy up loopback adapter tests
[openafs.git] / tests / common / network.c
index e605b28..145ce95 100644 (file)
@@ -1,18 +1,14 @@
 #include <afsconfig.h>
 #include <afs/param.h>
+
+#include <roken.h>
+
 #include <afs/cellconfig.h>
 #include <rx/rx.h>
 
-#include <stdio.h>
-#include <unistd.h>
-#include <netdb.h>
-#include <string.h>
-
 #include <tests/tap/basic.h>
 #include "common.h"
 
-extern int h_errno;
-
 /*! Check if the current machine's hostname resolves to the loopback
  * network.
  */