--- lib/trio.c.orig	2002-07-10 11:54:30.000000000 +0200
+++ lib/trio.c	2002-12-29 20:24:40.000000000 +0100
@@ -74,6 +74,7 @@
 #include <assert.h>
 #include <ctype.h>
 #if !defined(TRIO_COMPILER_SUPPORTS_C99)
+# undef isblank
 # define isblank(x) (((x)==32) || ((x)==9))
 #endif
 #include <math.h>
--- include/trio.h.orig	2002-07-10 11:36:33.000000000 +0200
+++ include/trio.h	2002-12-29 20:23:44.000000000 +0100
@@ -188,6 +188,7 @@
 # define fscanf trio_fscanf
 #endif
 #ifndef HAVE_VFSCANF
+# undef vfscanf
 # define vfscanf trio_vfscanf
 #endif
 #ifndef HAVE_SSCANF
--- src/NetAccess.cc.orig	2002-12-25 14:44:31.000000000 +0100
+++ src/NetAccess.cc	2002-12-29 20:22:24.000000000 +0100
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <assert.h>
 #include <math.h>
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include "NetAccess.h"
