From: Vsevolod Stakhov Date: Fri, 22 Jun 2018 18:22:57 +0000 (+0100) Subject: [Minor] Make Torch less dumb, sigh X-Git-Tag: 1.7.7~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b9bb74c643bf32ecd5d292f099d74ceb5927eb3;p=thirdparty%2Frspamd.git [Minor] Make Torch less dumb, sigh --- diff --git a/contrib/lua-torch/torch7/lib/TH/THGeneral.c b/contrib/lua-torch/torch7/lib/TH/THGeneral.c index 998ac32125..03a3a0c3f7 100644 --- a/contrib/lua-torch/torch7/lib/TH/THGeneral.c +++ b/contrib/lua-torch/torch7/lib/TH/THGeneral.c @@ -15,6 +15,10 @@ #include #endif +#ifdef __linux__ +#include +#endif + /* Torch Error Handling */ static void defaultErrorHandlerFunction(const char *msg, void *data) {