That was not a patch, I was showing you the contents of FreeBSD's /usr/include/malloc.h.
malloc.h looks at whether __STDC__ is defined. If it is, it throws an error. If __STDC__ is not defined, then malloc.h includes stdlib.h.
In either case, timejson.c already includes stdlib.h at line 1 before including malloc.h at line 8, so ....
/usr/include/malloc.h attached.
Holler again if I've misunderstood your request.
Jim
That was not a patch, I was showing you the contents of FreeBSD's /usr/include/ malloc. h.
malloc.h looks at whether __STDC__ is defined. If it is, it throws an error. If __STDC__ is not
defined, then malloc.h includes stdlib.h.
In either case, timejson.c already includes stdlib.h at line 1 before including malloc.h at line 8, so ....
/usr/include/ malloc. h attached.
Holler again if I've misunderstood your request.
Jim