From f74e61b126dfcfdb2c9f6fad5d20be96db325d48 Mon Sep 17 00:00:00 2001 From: "roberto@natty32" Date: Wed, 16 Mar 2011 21:29:52 +0100 Subject: [PATCH] fixed psgi compilation --- plugins/psgi/psgi.h | 1 + uwsgi.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/plugins/psgi/psgi.h b/plugins/psgi/psgi.h index 38830f0f..8133e773 100644 --- a/plugins/psgi/psgi.h +++ b/plugins/psgi/psgi.h @@ -1,3 +1,4 @@ +#undef __USE_GNU #include "../../uwsgi.h" #include diff --git a/uwsgi.h b/uwsgi.h index ae668715..aaf338c1 100644 --- a/uwsgi.h +++ b/uwsgi.h @@ -99,7 +99,9 @@ #ifdef __linux +#ifndef __USE_GNU #define __USE_GNU +#endif #include #include #include