From 2ca0c5e6f60a7814d3e84e2baa43b55ba6f5304d Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Sun, 24 May 2020 13:48:56 +0200 Subject: Use corresponding attributes for __packed and __dead --- slowcgi.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'slowcgi.c') diff --git a/slowcgi.c b/slowcgi.c index 8def399..63e7c1a 100644 --- a/slowcgi.c +++ b/slowcgi.c @@ -39,6 +39,14 @@ #include #include +#ifndef __packed +#define __packed __attribute__((packed)) +#endif + +#ifndef __dead +#define __dead __attribute__((noreturn)) +#endif + #define TIMEOUT_DEFAULT 120 #define SLOWCGI_USER "www" -- cgit v1.2.3-2-gb3c3