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

make error on macOS 10.12.6 #18

Open
frddbbbl opened this issue Sep 11, 2017 · 1 comment
Open

make error on macOS 10.12.6 #18

frddbbbl opened this issue Sep 11, 2017 · 1 comment

Comments

@frddbbbl
Copy link

frddbbbl commented Sep 11, 2017

after cloning meh from git and typing 'make' rather than making it gives this error:

`% make

cc -O3 -DNDEBUG -MMD -MP -MT "src/bmp.d" -c -o src/bmp.o src/bmp.c

In file included from src/bmp.c:5:

src/meh.h:50:15: error: unknown type name 'fd_set'

int setup_fds(fd_set *fds);
^
src/meh.h:51:17: error: unknown type name 'fd_set'

int process_fds(fd_set *fds);
^
2 errors generated.`

@andreasbaumann
Copy link
Contributor

69f653a fixes that with an

#include <sys/select.h>

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

No branches or pull requests

2 participants