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

Linux: compile error #5

Closed
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment · Fixed by #7
Closed

Linux: compile error #5

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment · Fixed by #7

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Try to compile it on Arch Linux
2. Compile error: undefined function "open" error.

What version of the product are you using? On what operating system?
SVN r17

Please provide any additional information below.
Seems like #include <unistd.h> is missing (see patch file).

Original issue reported on code.google.com by schulz...@gmail.com on 30 Oct 2013 at 9:27

Attachments:

@GoogleCodeExporter
Copy link
Author

I was getting : "'read' was not declared in this scope" on ubuntu and a 
relatively new GCC. Adding the same include fixed it.

Please apply the patch (it's such a small patch but a big annoyance).

Original comment by okall...@gmail.com on 23 May 2014 at 11:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant