patch-src_utility_c 368 B

12345678910111213141516
  1. $OpenBSD: patch-src_utility_c,v 1.1 2014/11/18 10:17:18 brad Exp $
  2. Don't use malloc.h header on OpenBSD.
  3. --- src/utility.c.orig Mon Nov 3 22:18:53 2014
  4. +++ src/utility.c Mon Nov 3 22:19:46 2014
  5. @@ -44,7 +44,7 @@
  6. #include <ctype.h>
  7. #include <libnova/libnova.h>
  8. -#ifndef __APPLE__
  9. +#if !defined(__APPLE__) && !defined(__OpenBSD__)
  10. #include <malloc.h>
  11. #endif