openbsd-ports/graphics/mpeg_encode/patches/patch-opts_c

16 lines
340 B
Plaintext

$OpenBSD: patch-opts_c,v 1.1.1.1 2001/06/19 03:22:33 angelos Exp $
--- opts.c.orig Tue Aug 15 14:34:09 1995
+++ opts.c Sun Jun 10 01:38:32 2001
@@ -38,7 +38,11 @@
#include <stdio.h>
#include <string.h>
#include "opts.h"
+#ifdef __OpenBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <math.h>
/*==============*