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

Fixes for compilation with musl libc #9

Merged
merged 4 commits into from
Jun 25, 2015
Merged

Conversation

doughdemon
Copy link
Contributor

The <sys/pci.h> patch is also useful for uclibc:
https://bugs.gentoo.org/show_bug.cgi?id=506876

The idiom stdin=freopen(..,..,stdin) has been used to replace standard
input with a file. It is however unportable to use stdin as an lvalue.
On the other hand the assignment is unnecessary, freeopen(..,..,stdin)
itself already replaces the standard input.
Only glibc has <sys/pci.h> and on glibc the header just includes
<linux/pci.h>.
wfeldt added a commit that referenced this pull request Jun 25, 2015
Fixes for compilation with musl libc
@wfeldt wfeldt merged commit bce0b12 into openSUSE:master Jun 25, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants