Problems reported by Donald Page, PR 105-107.

diff --git a/misc/port.c b/misc/port.c
index 5e03c6e..07d2650 100644
--- a/misc/port.c
+++ b/misc/port.c
@@ -5,6 +5,7 @@
  */
 
 #include "config.h"
+#include <stdio.h>
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/stat.h>