2016-01-21 23:40:00 +01:00

15 lines
433 B
Plaintext

$NetBSD: patch-aa,v 1.4 2015/02/05 15:46:57 taca Exp $
Remove legacy errno declaration.
--- ext/fcgi/fcgi.c.orig 2015-01-19 12:50:20.000000000 +0000
+++ ext/fcgi/fcgi.c
@@ -223,7 +223,6 @@ static VALUE fcgi_finish(VALUE self)
#define CHECK_STREAM_ERROR(stream) {\
int err = FCGX_GetError(stream);\
- extern int errno; \
if (err) {\
if (err > 0) {\
rb_raise(eFCGIStreamError, "unknown error (syscall error)");\