summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/ntp_malloc.h
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>1999-12-09 13:01:21 +0000
committerroberto <roberto@FreeBSD.org>1999-12-09 13:01:21 +0000
commitef64b99e8412f2273dd2e8b3291c2f78ffc4667f (patch)
treefc0cfa1aab0ff6b228f511b410733ef4f35d1ead /contrib/ntp/include/ntp_malloc.h
downloadFreeBSD-src-ef64b99e8412f2273dd2e8b3291c2f78ffc4667f.zip
FreeBSD-src-ef64b99e8412f2273dd2e8b3291c2f78ffc4667f.tar.gz
Virgin import of ntpd 4.0.98f
Diffstat (limited to 'contrib/ntp/include/ntp_malloc.h')
-rw-r--r--contrib/ntp/include/ntp_malloc.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/ntp/include/ntp_malloc.h b/contrib/ntp/include/ntp_malloc.h
new file mode 100644
index 0000000..099c83e
--- /dev/null
+++ b/contrib/ntp/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 */
OpenPOWER on IntegriCloud