Opened 12 years ago

Closed 12 years ago

#141 closed defect (fixed)

libc: include the right types.h from sys/param.h, arpa/nameser.h and resolv.h

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.2
Component: libc Version: 0.6
Severity: normal Keywords: types.h
Cc:

Description

sys/param.h and two other headers tcpip includes types.h in order to be compatible with the IBM toolkit. Since types.h is a rather common header name, care must be taken that we don't include the wrong header. This is important since the includes are all inside extern "C" {} and will break if the project types.h makes use of C++ features.

(This was fixed on the trunk in [2991], just test and backport it.)

Change History (1)

comment:1 Changed 12 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

(In [2992]) include the right types.h. Fixes #141.

Note: See TracTickets for help on using tickets.