Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poll.h and netdb.h #5

Open
andoma opened this issue Apr 17, 2011 · 2 comments
Open

poll.h and netdb.h #5

andoma opened this issue Apr 17, 2011 · 2 comments

Comments

@andoma
Copy link

andoma commented Apr 17, 2011

... 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
Copy link
Member

shagkur commented Apr 29, 2011

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

@andoma
Copy link
Author

andoma commented Apr 29, 2011

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

dee12452 added a commit to dee12452/PSL1GHT that referenced this issue Jul 3, 2020
…sNet functions in their own header in sysutil. Moved netdb.h to root of include/. I know this will address ps3dev#5
dee12452 added a commit to dee12452/PSL1GHT that referenced this issue Jul 3, 2020
…sNet functions in their own header in sysutil. Moved netdb.h to root of include/. I know this will address ps3dev#5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants