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

fix build/warnings on some Linux systems #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix build/warnings on some Linux systems #14

wants to merge 1 commit into from

Conversation

utoni
Copy link

@utoni utoni commented May 4, 2020

Signed-off-by: Toni Uhlig matzeton@googlemail.com

@@ -203,11 +203,7 @@ doinput()
void
finish()
{
#if defined(SVR4)
int status;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be a int at least on recent BSD, Solaris and Linux systems.

@@ -57,7 +57,9 @@

#if defined(SVR4)
#include <fcntl.h>
#if __GLIBC__ < 2 && __GLIBC_MINOR__ <= 30
#include <stropts.h>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stropts.h support was discarded since 2.30, FYI: https://savannah.gnu.org/forum/forum.php?forum_id=9515

@utoni utoni changed the title fix build warnings on some Linux systems fix build/warnings on some Linux systems May 4, 2020
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
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

1 participant