--- src/bin/geomutil/math2oogl/math2oogl.c.orig	Fri Apr  6 18:10:23 2007
+++ src/bin/geomutil/math2oogl/math2oogl.c	Wed Mar 16 19:41:29 2016
@@ -58,7 +58,7 @@ Copyright (C) 1998-2000 Stuart Levy, Tamara Munzner, M
 #include <sys/socket.h>
 #include <sys/un.h>
 #endif
-#include <sys/errno.h>
+#include <errno.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
@@ -93,8 +93,6 @@ Copyright (C) 1998-2000 Stuart Levy, Tamara Munzner, M
 #ifndef FD_CLOEXEC
 #define FD_CLOEXEC 1
 #endif
-
-extern int errno;
 
 char *todir = "/tmp/geomview";
 char *toname = "Mathematica";
