$NetBSD$

--- sender-diskio.c.orig	2006-08-22 17:45:14.000000000 +0000
+++ sender-diskio.c
@@ -26,9 +26,6 @@ int openFile(struct disk_config *config)
     if(config->fileName != NULL) {
 	int in = open(config->fileName, O_RDONLY | O_BINARY, 0);
 	if (in < 0) {
-#ifdef NO_BB
-	    extern int errno;
-#endif
 	    udpc_fatal(1, "Could not open file %s: %s\n", config->fileName,
 		       strerror(errno));
 	}
