diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-01 18:21:08 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-06-01 18:21:08 +0200 |
commit | 55ac2338fcf5c3f2f3f812fd53063ce58aa38a49 (patch) | |
tree | 034020ab2e64a27b98a7bb87296fd24675ddf9d2 /sfeed_frames.c | |
parent | cbb82666e00815aa2dbcc3f144460f3003b46b70 (diff) |
portability and standards: add BSD-like err() and errx() functions
These are BSD functions.
- HaikuOS now compiles without having to use libbsd.
- Tested on SerenityOS (for fun), which doesn't have these functions (yet).
With a small change to support wcwidth() sfeed works on SerenityOS.
Diffstat (limited to 'sfeed_frames.c')
-rw-r--r-- | sfeed_frames.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c index dc225d9..89838cc 100644 --- a/sfeed_frames.c +++ b/sfeed_frames.c @@ -1,6 +1,5 @@ #include <sys/types.h> -#include <err.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |