1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix build on -STABLE.

PR:		ports/66212
Submitted by:	Jean-Baptiste Quenot (maintainer)
This commit is contained in:
Volker Stolz 2004-05-06 11:09:23 +00:00
parent 43be2336bd
commit c2031d7505
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108541
3 changed files with 23 additions and 11 deletions

View File

@ -1,11 +0,0 @@
--- src/config.h.in.orig Sun Feb 29 15:30:29 2004
+++ src/config.h.in Sun Feb 29 15:30:35 2004
@@ -80,8 +80,5 @@
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-#undef socklen_t
-
/* Define to `signed int' if <sys/types.h> does not define. */
#undef ssize_t

View File

@ -0,0 +1,12 @@
--- src/config.h.in.orig Thu Feb 5 21:37:17 2004
+++ src/config.h.in Mon May 3 11:09:39 2004
@@ -79,9 +79,3 @@
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-#undef socklen_t
-
-/* Define to `signed int' if <sys/types.h> does not define. */
-#undef ssize_t

View File

@ -0,0 +1,11 @@
--- src/prog_defs.h.orig Mon May 3 16:44:33 2004
+++ src/prog_defs.h Mon May 3 16:44:46 2004
@@ -9,6 +9,8 @@
#ifndef PROG_DEFS_H
#define PROG_DEFS_H
+#include <unistd.h>
+
#include "config.h"
// deal with any configuration issues arising from config.h