$OpenBSD: patch-src_rfc1035_c,v 1.1 2011/01/10 22:08:26 ajacoutot Exp $
--- src/rfc1035.c.orig	Tue Dec 28 19:03:53 2010
+++ src/rfc1035.c	Tue Dec 28 19:04:33 2010
@@ -16,6 +16,10 @@
 
 #include "dnsmasq.h"
 
+#ifndef NS_INT32SZ
+#define NS_INT32SZ 4
+#endif
+
 static int add_resource_record(HEADER *header, char *limit, int *truncp, 
 			       unsigned int nameoffset, unsigned char **pp, 
 			       unsigned long ttl, unsigned int *offset, unsigned short type, 
