[2249] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

conflict between util/db2 and BIND 4.9.4 Patch 1 re u_int_*

daemon@ATHENA.MIT.EDU (Paul Pomes)
Fri Sep 20 13:30:25 1996

Date: Fri, 20 Sep 1996 10:29:56 -0700 (PDT)
From: Paul Pomes <ppomes@Qualcomm.com>
To: krb5-bugs@MIT.EDU

BIND's .../sys/bitypes.h is included by netdb.h .  It defines the following
typedefs

	typedef /*signed*/ char            int8_t;
	typedef unsigned char            u_int8_t;
	typedef short                     int16_t;
	typedef unsigned short          u_int16_t;
	typedef int                       int32_t;
	typedef unsigned int            u_int32_t;

Unfortunately this file isn't checked by configure, nor should it I think.
One way to avoid the problem is for configure to also emit a wrapper
similar to what sys/bitypes.h uses


#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__

 .....

#endif	/* __BIT_TYPES_DEFINED__ */

home help back first fref pref prev next nref lref last post