Skip to content

Instantly share code, notes, and snippets.

@timo
Created February 15, 2014 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/aad915a9cff0f0cd928d to your computer and use it in GitHub Desktop.
Save timo/aad915a9cff0f0cd928d to your computer and use it in GitHub Desktop.
compiling src/io/syncstream.o
src/io/syncfile.c:39:13: error: conflicting types for ‘close’
In file included from src/io/syncfile.c:9:0:
/usr/include/unistd.h:353:12: note: previous declaration of ‘close’ was here
src/io/syncfile.c:236:13: error: conflicting types for ‘truncate’
In file included from src/io/syncfile.c:9:0:
/usr/include/unistd.h:1019:12: note: previous declaration of ‘truncate’ was here
make: *** [src/io/syncfile.o] Error 1
make: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment