sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit ebc33326e1da17131171a76a9136c1f1af4f0c55
parent b75648df800e43cf32492c204d21663f013cff40
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 27 Mar 2022 14:57:05 +0200

Revert "rm sys/types.h include and improve portability"

This reverts commit db1dcafd03997127f2cbc82376e2cc8df9b77356.

This is needed. Tested on an (old) Slackware 11 install.

Diffstat:
Msfeed_atom.c | 2++
Msfeed_curses.c | 1+
Msfeed_frames.c | 2++
Msfeed_gopher.c | 2++
Msfeed_html.c | 2++
Msfeed_plain.c | 2++
Msfeed_twtxt.c | 2++
7 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/sfeed_atom.c b/sfeed_atom.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <stdio.h> #include <string.h> #include <time.h> diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -4,6 +4,7 @@ #include <sys/types.h> #include <sys/wait.h> +#include <ctype.h> #include <errno.h> #include <fcntl.h> #include <locale.h> diff --git a/sfeed_frames.c b/sfeed_frames.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sfeed_gopher.c b/sfeed_gopher.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <limits.h> #include <stdio.h> #include <stdlib.h> diff --git a/sfeed_html.c b/sfeed_html.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sfeed_plain.c b/sfeed_plain.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <locale.h> #include <stdio.h> #include <string.h> diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c @@ -1,3 +1,5 @@ +#include <sys/types.h> + #include <stdio.h> #include <string.h> #include <time.h>