diff options
Diffstat (limited to 'include/ntp_malloc.h')
-rw-r--r-- | include/ntp_malloc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/ntp_malloc.h b/include/ntp_malloc.h new file mode 100644 index 000000000000..099c83effe90 --- /dev/null +++ b/include/ntp_malloc.h @@ -0,0 +1,19 @@ +/* + * Define malloc and friends. + */ +#ifndef _ntp_malloc_h +#define _ntp_malloc_h + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#ifdef HAVE_STDLIB_H +# include <stdlib.h> +#else /* HAVE_STDLIB_H */ +# ifdef HAVE_MALLOC_H +# include <malloc.h> +# endif +#endif /* HAVE_STDLIB_H */ + +#endif /* _ntp_malloc_h */ |