aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-06-11 19:00:12 +0200
committerWolfgang Müller2021-04-27 12:28:22 +0200
commitf228cc8ae58fa45e185817e4eae7e920e30cfeaf (patch)
treeae819571d7a3ceb4ad3dc3231df5c780bce80428
parent98fbcf04228072947b418237c03776756f78c860 (diff)
downloadcwm-f228cc8ae58fa45e185817e4eae7e920e30cfeaf.tar.gz
Define __dead if missing
-rw-r--r--calmwm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calmwm.c b/calmwm.c
index 046c9e3..901c6ff 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -34,6 +34,10 @@
#include <string.h>
#include <unistd.h>
+#ifndef __dead
+#define __dead __attribute__((noreturn))
+#endif
+
#include "calmwm.h"
Display *X_Dpy;