/contrib/ntp/include/ntp_malloc.h

https://bitbucket.org/freebsd/freebsd-head/ · C++ Header · 19 lines · 13 code · 3 blank · 3 comment · 0 complexity · cdf60a9e29fc1a06d737ab595064e2ad MD5 · raw file

  1. /*
  2. * Define malloc and friends.
  3. */
  4. #ifndef _ntp_malloc_h
  5. #define _ntp_malloc_h
  6. #ifdef HAVE_CONFIG_H
  7. # include <config.h>
  8. #endif
  9. #ifdef HAVE_STDLIB_H
  10. # include <stdlib.h>
  11. #else /* HAVE_STDLIB_H */
  12. # ifdef HAVE_MALLOC_H
  13. # include <malloc.h>
  14. # endif
  15. #endif /* HAVE_STDLIB_H */
  16. #endif /* _ntp_malloc_h */