Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 20:42:17 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-alpha@freebsd.org
Subject:   Re: ccc: netdb.h
Message-ID:  <998fb9$tsf$1@kemoauc.mips.inka.de>
References:  <9987nq$eui$1@kemoauc.mips.inka.de> <998b6d$j9b$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Weisgerber <naddy@mips.inka.de> wrote:

> ccc chokes on socklen_t.  Hmm.

Nailed it.
The private <machine/ansi.h> installed by the port hasn't kept up
with /usr/include/machine/ansi.h.


--- ansi.h.orig	Tue Mar 20 20:51:43 2001
+++ ansi.h	Tue Mar 20 20:55:06 2001
@@ -49,20 +49,19 @@
  *	#endif
  */
 #define	_BSD_CLOCK_T_		int		/* clock() */
+#define	_BSD_CLOCKID_T_		int		/* clockid_t */
 #define	_BSD_PTRDIFF_T_		long		/* ptr1 - ptr2 */
 #define	_BSD_SIZE_T_		unsigned long	/* sizeof() */
+#define	_BSD_SOCKLEN_T_		__uint32_t
 #define	_BSD_SSIZE_T_		long		/* byte count or error */
 #define	_BSD_TIME_T_		int		/* time() */
+#define	_BSD_TIMER_T_		int		/* timer_t */
 typedef struct {
 	char *__base;
 	int __offset;
 	int __pad;
 } __va_list;
 #define	_BSD_VA_LIST_		__va_list	/* va_list */
-#define	_BSD_CLOCKID_T_		int		/* clockid_t */
-#define	_BSD_TIMER_T_		int		/* timer_t */
-#define	_BSD_SUSECONDS_T_	int		/* suseconds_t */
-#define	_BSD_USECONDS_T_	unsigned int	/* useconds_t */
 
 /*
  * Types which are fundamental to the implementation and must be used
-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?998fb9$tsf$1>