diff options
author | Wynn Wolf Arbor | 2020-05-24 13:48:56 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-05-24 14:05:54 +0200 |
commit | 2ca0c5e6f60a7814d3e84e2baa43b55ba6f5304d (patch) | |
tree | da588c51b65e009bb7f7ac87cff3b8f6e705a401 | |
parent | 4872304086721d26e38796da0d65ee5d24a1ce3e (diff) | |
download | slowcgi-2ca0c5e6f60a7814d3e84e2baa43b55ba6f5304d.tar.gz |
Use corresponding attributes for __packed and __dead
Diffstat (limited to '')
-rw-r--r-- | slowcgi.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -39,6 +39,14 @@ #include <syslog.h> #include <unistd.h> +#ifndef __packed +#define __packed __attribute__((packed)) +#endif + +#ifndef __dead +#define __dead __attribute__((noreturn)) +#endif + #define TIMEOUT_DEFAULT 120 #define SLOWCGI_USER "www" |