From d031962a9f300c622cd2288f3e57635dc6506932 Mon Sep 17 00:00:00 2001
From: "Chris D. Faulhaber" <jedgar@FreeBSD.org>
Date: Mon, 3 Jan 2000 23:29:09 +0000
Subject: Correct typedef problem under 3.x

Found by:	bento
---
 editors/xenon/files/patch-ad | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

(limited to 'editors/xenon')

diff --git a/editors/xenon/files/patch-ad b/editors/xenon/files/patch-ad
index bd5e5c5cf9f7..d8dd49d1e535 100644
--- a/editors/xenon/files/patch-ad
+++ b/editors/xenon/files/patch-ad
@@ -1,7 +1,19 @@
---- XeApp.C.orig	Fri Oct 22 00:20:19 1999
-+++ XeApp.C	Fri Oct 22 18:42:42 1999
-@@ -165,7 +165,7 @@
- #endif
+--- XeApp.C.orig	Tue Nov 23 00:36:49 1999
++++ XeApp.C	Mon Jan  3 18:25:45 2000
+@@ -33,6 +33,11 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ 
++#include <osreldate.h>
++#if __FreeBSD_version < 400010
++typedef int socklen_t;
++#endif
++
+ #ifdef _SGI_SOURCE
+ #include <alloca.h>
+ #include <bstring.h>
+@@ -169,7 +174,7 @@
+ 
      gLocalIPAddr = 0;
      
 -    if (getsockname(ConnectionNumber(gDisplay), &saddr, &len) != -1)
-- 
cgit v1.2.3