diff options
Diffstat (limited to 'sfeed_html.c')
-rw-r--r-- | sfeed_html.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfeed_html.c b/sfeed_html.c index 1a8b5cc..6f6811c 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -85,8 +85,10 @@ main(int argc, char *argv[]) FILE *fp; int i; +#ifdef USE_PLEDGE if (pledge(argc == 1 ? "stdio" : "stdio rpath", NULL) == -1) err(1, "pledge"); +#endif if (!(feeds = calloc(argc, sizeof(struct feed *)))) err(1, "calloc"); |