bugGlibc support for *BSD's kernels - Bugs: bug #4290, [kfreebsd] <sys/types.h>...

 
 

bug #4290: [kfreebsd] <sys/types.h> wants __USE_BSD to typedef u_char and such

Submitted by:  Robert Millan <robertmh>
Submitted on:  Sun 13 Jul 2003 01:26:04 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 13 Jul 2003 01:26:04 AM UTC, original submission:

<net/if.h> and a lot other FreeBSD kernel headers won't compile. the problem is they use BSDish types such as u_char, u_long, u_int, u_short, caddr_t.

These types are declared in <sys/types.h>, but only when __USE_BSD is defined. Code using, say, <net/if.h> won't necessarily define __USE_BSD, so we either have to:

- define __USE_BSD in <net/if.h> and other BSDish headers
- define __USE_BSD in <sys/types.h>
- fix all the unsupported types in headers like <net/if.h>

Robert Millan <robertmh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup