$NetBSD: patch-ag,v 1.2 2005/12/01 18:13:24 wiz Exp $

- use standard headers
- declare external symbols properly

--- src/coding.c.orig	1996-09-28 00:41:51.000000000 +0000
+++ src/coding.c
@@ -123,6 +123,8 @@ the Free Software Foundation, 675 Mass A
 	CCL handler changed. */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #ifdef emacs
 #include <config.h>
 #include "lisp.h"
@@ -154,7 +156,7 @@ char code_priority_category[IDX_BIN + 1]
 /* 92.4.3, 92.12.18 by K.Handa */
 Lisp_Object Qcoding_system, Qcoding_system_p, Qnon_nil_coding_system_p;
 Lisp_Object Qeol_type;
-Lisp_Object Qpriority;
+extern Lisp_Object Qpriority;
 /* end of patch */
 #endif /* emacs */
 
