Skip to content

Commit

Permalink
Include fmacros.h to make sure strerror_p is defined on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Apr 21, 2011
1 parent 1970915 commit df1d693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ all: ${DYLIBNAME} ${BINS}
net.o: net.c fmacros.h net.h hiredis.h
async.o: async.c async.h hiredis.h sds.h util.h dict.c dict.h
example.o: example.c hiredis.h
hiredis.o: hiredis.c hiredis.h net.h sds.h util.h
hiredis.o: hiredis.c fmacros.h hiredis.h net.h sds.h util.h
sds.o: sds.c sds.h
test.o: test.c hiredis.h

Expand Down
1 change: 1 addition & 0 deletions hiredis.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/

#include "fmacros.h"
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
Expand Down

0 comments on commit df1d693

Please sign in to comment.