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 gcc 4.7 error: 'read' was not declared in this scope #10

Merged
merged 1 commit into from
Jun 1, 2012

Conversation

martani
Copy link
Contributor

@martani martani commented May 31, 2012

Make fails with gcc 4.7 with the error

mersenne-twister.C: In static member function 'static int LELA::MersenneTwister::getSeed()':
mersenne-twister.C:235:29: error: 'read' was not declared in this scope
mersenne-twister.C:238:10: error: 'close' was not declared in this scope

Adding #include < unistd.h > fixes this

ederc added a commit that referenced this pull request Jun 1, 2012
fix gcc 4.7 error: 'read' was not declared in this scope
@ederc ederc merged commit c0a16a6 into Singular:master Jun 1, 2012
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