From: Bill Erickson Date: Sun, 20 Nov 2011 23:29:35 +0000 (-0500) Subject: avoid import of nonexistent malloc.h on BSD X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fcollab%2Fberick%2Fbsd-compat;p=working%2FOpenSRF.git avoid import of nonexistent malloc.h on BSD malloc.h was absorbed by stdlib.h on BSD. Signed-off-by: Bill Erickson --- diff --git a/src/c-apps/timejson.c b/src/c-apps/timejson.c index c0ab46e..2597ffd 100644 --- a/src/c-apps/timejson.c +++ b/src/c-apps/timejson.c @@ -5,7 +5,9 @@ #include #include #include +#ifdef __linux__ #include +#endif #include "opensrf/utils.h" #include "opensrf/osrf_json.h"