xref: /freebsd/contrib/ntp/include/ntp_malloc.h (revision 7aa383846770374466b1dcb2cefd71bde9acf463)
1 /*
2  * Define malloc and friends.
3  */
4 #ifndef  _ntp_malloc_h
5 #define  _ntp_malloc_h
6 
7 #ifdef HAVE_CONFIG_H
8 # include <config.h>
9 #endif
10 
11 #ifdef HAVE_STDLIB_H
12 # include <stdlib.h>
13 #else /* HAVE_STDLIB_H */
14 # ifdef HAVE_MALLOC_H
15 #  include <malloc.h>
16 # endif
17 #endif /* HAVE_STDLIB_H */
18 
19 #endif /* _ntp_malloc_h */
20