diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-11 15:16:50 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-11 15:16:50 +0000 |
commit | 796c6e75d72a1fbd8ea1dd6ccaaaa57180eb3865 (patch) | |
tree | d0c3a6986b5ee4a7994b9bc02f916c8230931f1e | |
parent | 7b1d97903280066059ed4b00d4d407876957d071 (diff) |
fix build on non-OpenBSD systems1.4.1
not every system has a __dead attribute for functions. This fixes the
build on FreeBSD.
-rw-r--r-- | gmid.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,6 +37,10 @@ # define INFTIM -1 #endif +#ifndef __dead +# define __dead +#endif + #define GEMINI_URL_LEN (1024+3) /* URL max len + \r\n + \0 */ /* large enough to hold a copy of a gemini URL and still have extra room */ |