$NetBSD$

--- netplan.c.orig	2005-01-26 12:55:34.000000000 -0600
+++ netplan.c	2007-04-26 09:01:01.000000000 -0500
@@ -4,6 +4,7 @@
 
 typedef void *Widget;	/* dummy for prototype declarations in config.h */
 
+#include <errno.h>
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
