Skip to content
Snippets Groups Projects
Commit f91820e1 authored by rswindell's avatar rswindell
Browse files

Doesn't #include malloc.h on FreeBSD (deprecated).

parent ffb1007d
No related branches found
No related tags found
No related merge requests found
......@@ -59,11 +59,13 @@
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <malloc.h>
#ifndef __FreeBSD__ /* FreeBSD uses stdlib.h for malloc() */
#include <malloc.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
#define GLOBAL extern /* turns XSDKVAR.C into a header file */
#define GLOBAL extern /* turns XSDKVARS.C into a header file */
#include "xsdkinet.h"
#include "xsdkwrap.h"
#include "xsdkvars.c"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment