ps3dev / PSL1GHT

A lightweight PS3 SDK
www.psl1ght.com
MIT License
222 stars 62 forks source link

poll.h and netdb.h #5

Open andoma opened 13 years ago

andoma commented 13 years ago

... should IMHO be moved out of net/ so they reside directly in the include path as they are on all other unix-like systems

Now showtime needs to have stuff like this:

#ifdef PS3
#include <net/poll.h>
#else
#include <poll.h>
#endif

which is rather ugly.

Thanks

shagkur commented 13 years ago

This can be fixed easily by extending the include rule in ppu_rules with -I$(PSL1GHT)/ppu/include/net

andoma commented 13 years ago

Indeed, but adding more include paths tend to pollute the include namespace in bad ways.