diff --git a/xpfe/bootstrap/nsSigHandlers.cpp b/xpfe/bootstrap/nsSigHandlers.cpp index 19d6b8ec222..3cb1306eeaa 100644 --- a/xpfe/bootstrap/nsSigHandlers.cpp +++ b/xpfe/bootstrap/nsSigHandlers.cpp @@ -67,8 +67,11 @@ #include "nsIAppShellService.h" #include "nsAppShellCIDs.h" static NS_DEFINE_CID(kAppShellServiceCID, NS_APPSHELL_SERVICE_CID); -#else -extern "C" char * strsignal(int); +#elif defined(LINUX) +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif +#include #endif #ifdef MOZ_WIDGET_PHOTON