Skip to content

Instantly share code, notes, and snippets.

@dtjm
Created August 4, 2010 18:36
Show Gist options
  • Save dtjm/508580 to your computer and use it in GitHub Desktop.
Save dtjm/508580 to your computer and use it in GitHub Desktop.
### diff -ur daemontools-0.76.old/src/error.h daemontools-0.76/src/error.h
### via http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch
### and http://whomwah.com/2008/11/04/installing-daemontools-on-centos5-x86_64/
--- daemontools-0.76.old/src/error.h 2001-07-12 11:49:49.000000000 -0500
+++ daemontools-0.76/src/error.h 2003-01-09 21:52:01.000000000 -0600
@@ -3,7 +3,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment