summaryrefslogtreecommitdiff
path: root/sfeed_gopher.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-03-27 14:57:05 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-03-27 14:57:05 +0200
commitebc33326e1da17131171a76a9136c1f1af4f0c55 (patch)
treeb83d2e78d689fb7ceba5ded0e4ddb89cbcd0102a /sfeed_gopher.c
parentb75648df800e43cf32492c204d21663f013cff40 (diff)
Revert "rm sys/types.h include and improve portability"
This reverts commit db1dcafd03997127f2cbc82376e2cc8df9b77356. This is needed. Tested on an (old) Slackware 11 install.
Diffstat (limited to 'sfeed_gopher.c')
-rw-r--r--sfeed_gopher.c2
1 files changed, 2 insertions, 0 deletions
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 <sys/types.h>
+
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>