Richard Levitte bbd6c8bd16 If _XOPEN_SOURCE_EXTENDED or _XOPEN_SOURCE are defined, _POSIX_C_SOURCE gets
defined in DECC$TYPES.H.  If _POSIX_C_SOURCE is defined, certain types do
not get defined (u_char, u_int, ...).  DECC.H gets included by assert.h
and others.  Now, in6.h uses the types u_char, u_int and so on, and gets
included as part of other header inclusions, and will of course fail because
of the missing types.

On the other hand, _XOPEN_SOURCE_EXTENDED is needed to get gethostname()
properly declared...

Solution: define _XOPEN_SOURCE_EXTENDED much later, so DECC$TYPES.H has
a chance to be included *first*, so the otherwise missing types get defined
properly.

Personal: *mumble* *mumble*
2002-12-19 19:38:51 +00:00
..
1999-04-29 16:04:54 +00:00
2002-01-12 15:56:13 +00:00
2002-09-26 15:54:15 +00:00
2002-09-26 15:54:15 +00:00
2002-07-10 06:57:54 +00:00
2001-03-08 21:54:02 +00:00
2002-09-26 15:54:15 +00:00
2002-07-10 06:57:54 +00:00
2001-11-10 01:16:28 +00:00
2002-11-15 22:44:08 +00:00
2002-08-02 11:47:24 +00:00
2002-07-10 06:57:54 +00:00
2002-01-12 15:56:13 +00:00
2002-03-12 13:33:20 +00:00
2002-09-25 15:38:17 +00:00
2002-09-26 15:54:15 +00:00
2002-09-25 15:38:17 +00:00