1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Correct typedef problem under 3.x

Found by:	bento
This commit is contained in:
Chris D. Faulhaber 2000-01-03 23:29:09 +00:00
parent 80d9017eb5
commit d031962a9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24398

View File

@ -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)