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

Don't define u_int #326

Merged
merged 1 commit into from
Jul 31, 2020
Merged

Don't define u_int #326

merged 1 commit into from
Jul 31, 2020

Conversation

asomers
Copy link
Contributor

@asomers asomers commented Jul 26, 2020

It's usually defined by the platform in types.h or sys/types.h.
The compiler complains if libnfs redefines it.

It's usually defined by the platform in types.h or sys/types.h.
The compiler complains if libnfs redefines it.
@asomers
Copy link
Contributor Author

asomers commented Jul 26, 2020

cc @shivankgarg98

@sahlberg sahlberg merged commit ef0ca03 into sahlberg:master Jul 31, 2020
@sahlberg
Copy link
Owner

Merged. Thanks.

@asomers asomers deleted the u_int branch August 10, 2020 20:48
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Aug 10, 2020
libnfs was redefining u_int, causing programs using libnfs to get
"error: redefinition of typedef 'u_int' is a C11 feature" errors.

Upstream PR: sahlberg/libnfs#326

PR:		248296
Approved by:	Shannon Noe <snoe925@gmail.com> (maintainer)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@544646 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Aug 10, 2020
libnfs was redefining u_int, causing programs using libnfs to get
"error: redefinition of typedef 'u_int' is a C11 feature" errors.

Upstream PR: sahlberg/libnfs#326

PR:		248296
Approved by:	Shannon Noe <snoe925@gmail.com> (maintainer)
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this pull request Aug 10, 2020
libnfs was redefining u_int, causing programs using libnfs to get
"error: redefinition of typedef 'u_int' is a C11 feature" errors.

Upstream PR: sahlberg/libnfs#326

PR:		248296
Approved by:	Shannon Noe <snoe925@gmail.com> (maintainer)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@544646 35697150-7ecd-e111-bb59-0022644237b5
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.

2 participants