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

adding missing include to get pthread_t type working #61

Merged
merged 1 commit into from
Jun 4, 2017

Conversation

Broham
Copy link
Contributor

@Broham Broham commented Jun 3, 2017

Without this I am getting the following error on OSX when I call make:

$ make
gcc -Iinclude/ -Isrc/ -Wall -Wfatal-errors  -Ofast -c ./src/gemm.c -o obj/gemm.o
In file included from ./src/gemm.c:2:
In file included from src/utils.h:5:
In file included from src/list.h:3:
include/darknet.h:491:1: fatal error: unknown type name 'pthread_t'
pthread_t load_data(load_args args);
^
1 error generated.
make: *** [obj/gemm.o] Error 1

@lilohuang
Copy link
Contributor

Yes, this code change is needed on OSX.

@pjreddie pjreddie merged commit d528cbd into pjreddie:master Jun 4, 2017
@pjreddie
Copy link
Owner

pjreddie commented Jun 4, 2017

thanks! try to make your commit messages less intelligible though.

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

3 participants