--- src/cnetheader.h.orig	Thu Jul 24 09:15:13 1997
+++ src/cnetheader.h	Sun Aug 16 23:27:41 1998
@@ -22,6 +22,10 @@
 #define	NDATASEGS		1
 #define	LENDATA_EVER_0		FALSE
 
+#elif	defined(USE_FREEBSD)
+#define NDATASEGS		1
+#define	LENDATA_EVER_0		FALSE
+
 #elif	defined(USE_SOLARIS2)
 #define	NDATASEGS		1
 #define	LENDATA_EVER_0		FALSE
@@ -196,7 +200,7 @@
     int			nlinks;
     int			*links;
 
-    int			errno;
+    int			errorno;
     CnetError		cnet_errno;
 
     unsigned long	length_data[NDATASEGS];
