From ebc33326e1da17131171a76a9136c1f1af4f0c55 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 27 Mar 2022 14:57:05 +0200 Subject: Revert "rm sys/types.h include and improve portability" This reverts commit db1dcafd03997127f2cbc82376e2cc8df9b77356. This is needed. Tested on an (old) Slackware 11 install. --- sfeed_atom.c | 2 ++ sfeed_curses.c | 1 + sfeed_frames.c | 2 ++ sfeed_gopher.c | 2 ++ sfeed_html.c | 2 ++ sfeed_plain.c | 2 ++ sfeed_twtxt.c | 2 ++ 7 files changed, 13 insertions(+) diff --git a/sfeed_atom.c b/sfeed_atom.c index c74e5fa..3ce5cf0 100644 --- a/sfeed_atom.c +++ b/sfeed_atom.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/sfeed_curses.c b/sfeed_curses.c index b5d1901..7d16b05 100644 --- a/sfeed_curses.c +++ b/sfeed_curses.c @@ -4,6 +4,7 @@ #include #include +#include #include #include #include diff --git a/sfeed_frames.c b/sfeed_frames.c index 7fcf3ee..178a4a2 100644 --- a/sfeed_frames.c +++ b/sfeed_frames.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/sfeed_gopher.c b/sfeed_gopher.c index 0d3ea38..7da41f6 100644 --- a/sfeed_gopher.c +++ b/sfeed_gopher.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/sfeed_html.c b/sfeed_html.c index ebc9acd..ce96687 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/sfeed_plain.c b/sfeed_plain.c index 732eb04..8b1f00f 100644 --- a/sfeed_plain.c +++ b/sfeed_plain.c @@ -1,3 +1,5 @@ +#include + #include #include #include diff --git a/sfeed_twtxt.c b/sfeed_twtxt.c index 1bb9d3b..1d8ab36 100644 --- a/sfeed_twtxt.c +++ b/sfeed_twtxt.c @@ -1,3 +1,5 @@ +#include + #include #include #include -- cgit v1.2.3