openbsd-ports/astro/py-astropy/patches/patch-cextern_cfitsio_lib_eval_l_c
2022-03-11 18:17:37 +00:00

18 lines
421 B
Plaintext

malloc.h is not standard, even on sparc
Index: cextern/cfitsio/lib/eval_l.c
--- cextern/cfitsio/lib/eval_l.c.orig
+++ cextern/cfitsio/lib/eval_l.c
@@ -662,11 +662,7 @@ char *fftext;
#include <math.h>
#include <string.h>
#include <ctype.h>
-#ifdef sparc
-#include <malloc.h>
-#else
#include <stdlib.h>
-#endif
#include "eval_defs.h"
ParseData gParse; /* Global structure holding all parser information */