rx-warning-cleanup-and-afsconfig-20010605
[openafs.git] / src / rx / rx_trace.c
index 182fe50..40f43d4 100644 (file)
 #ifdef RXDEBUG
 
 #include <afs/param.h>
+#include <afsconfig.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 #ifdef AFS_NT40_ENV
 #include <fcntl.h>
 #include <io.h>
 #else
 #include <sys/file.h>
+#include <unistd.h>
 #endif
 #include "rx.h"
 #include "rx_globals.h"
@@ -120,7 +128,7 @@ void rxi_calltrace(event, call)
 #include <afs/afsutil.h>
 #endif
 
-main(argc, argv)
+int main(argc, argv)
 char **argv;
 {
   struct rx_trace ip;