--- dump_dns.c.orig-orig	2013-01-10 17:48:19.000000000 -0800
+++ dump_dns.c	2013-01-10 17:53:12.000000000 -0800
@@ -8,6 +8,9 @@
 #include <stdio.h>
 #include "dump_dns.h"
 
+#define	INT32SZ		4		/* for systems without 32-bit ints */
+#define	INT16SZ		2		/* for systems without 16-bit ints */
+
 #ifndef lint
 static const char rcsid[] = "$Id: dump_dns.c,v 1.2 2008-03-14 21:33:28 wessels Exp $";
 #endif
@@ -60,7 +63,6 @@
 #include <time.h>
 #include <unistd.h>
 
-extern const char *_res_opcodes[];
 extern const char *_res_sectioncodes[];
 #define p_rcode __p_rcode
 extern const char *p_rcode(int rcode);
@@ -86,6 +88,26 @@
 	(cp) += INT32SZ; \
 } while (0)
 
+
+const char *_res_opcodes[] = {
+        "QUERY",
+        "IQUERY",
+        "CQUERYM",
+        "CQUERYU",      /*%< experimental */
+        "NOTIFY",       /*%< experimental */
+        "UPDATE",
+        "6",
+        "7",
+        "8",
+        "9",
+        "10",
+        "11",
+        "12",
+        "13",
+        "ZONEINIT",
+        "ZONEREF",
+};
+
 #include "dump_dns.h"
 
 void