$NetBSD: patch-au,v 1.1 2005/12/19 16:24:12 joerg Exp $ --- get/getx11/x11_stuff.c.orig 2005-12-19 16:06:34.000000000 +0000 +++ get/getx11/x11_stuff.c @@ -40,7 +40,7 @@ */ #include "getx11.h" #ifdef X_SHARED_MEMORY -#include +#include #endif #include "circle.bitmap" @@ -155,7 +155,6 @@ Boolean share; IPC_CREAT|0777 ); if ( img->shm_img.shmid < 0 ) { - extern int errno; if ( errno == ENOSPC ) { if ( !no_shared_space ) @@ -361,7 +360,6 @@ Boolean reallocate; XDestroyImage( image ); if ( img->shm_pix.shmid < 0 ) { - extern int errno; if ( errno == ENOSPC ) { if ( !no_shared_space )