$NetBSD: patch-aa,v 1.1 2004/06/26 18:27:23 grant Exp $

--- wrapper.c.orig	Sun Aug  8 20:22:14 1999
+++ wrapper.c	Mon Sep 15 22:50:34 2003
@@ -44,7 +44,6 @@
 ---------------------------------------------------------------------------- */
 
 #include <config.h>
-#include <malloc.h>
 #include <memory.h>
 #include <stdio.h>
 #include <errno.h>
@@ -55,6 +54,9 @@
 #include "globals.h"
 #include "my_dmalloc.h"
 
+#include <stdlib.h>
+#include <string.h>
+
 #define BUF_LENGTH 80000
 
 
@@ -341,7 +343,7 @@
 @CREATED    : 94/6/17, Greg Ward.
 @MODIFIED   : 95/3/18, GW: added MPEG_CMAP_INDEX option.
 ---------------------------------------------------------------------------- */
-void SetMPEGOption (MPEGOptionEnum Option, int Value)
+void SetMPEGOption (MPEGOptionEnum Option, long Value)
 {
    switch (Option)
    {