Skip to content

Instantly share code, notes, and snippets.

@liesen
Created January 28, 2011 21:14
Show Gist options
  • Save liesen/800962 to your computer and use it in GitHub Desktop.
Save liesen/800962 to your computer and use it in GitHub Desktop.
Patch to get libefence to build on OS X
diff --git a/page.c b/page.c
index 07ac9d5..69374c4 100644
--- a/page.c
+++ b/page.c
@@ -30,7 +30,7 @@
static caddr_t startAddr = (caddr_t) 0;
#if ( !defined(sgi) && !defined(_AIX) )
-extern int sys_nerr;
+/*extern int sys_nerr;*/
/*extern char * sys_errlist[];*/
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment