summaryrefslogtreecommitdiff
path: root/sfeed_plain.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 16:03:26 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 16:03:26 +0200
commit6599b96752ddce0ce13b608faf64584109b0851c (patch)
treed37b979c8430c5b017eabe673602688f29a2e82d /sfeed_plain.c
parentd2031cdff9527a5e8562b80dad0a92a6e3ce4931 (diff)
use HOST_NAME_MAX for hostname
Diffstat (limited to 'sfeed_plain.c')
-rw-r--r--sfeed_plain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfeed_plain.c b/sfeed_plain.c
index 64c2b68..4954b35 100644
--- a/sfeed_plain.c
+++ b/sfeed_plain.c
@@ -1,5 +1,6 @@
#include <ctype.h>
#include <err.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>