projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff86db
)
RSSyl: Fix errno declaration in rssyl_add_item() breaking compilation on *BSD
author
Andrej Kacian
<andrej@kacian.sk>
Wed, 2 Jul 2014 06:19:01 +0000
(08:19 +0200)
committer
Andrej Kacian
<andrej@kacian.sk>
Wed, 2 Jul 2014 06:19:01 +0000
(08:19 +0200)
src/plugins/rssyl/rssyl_add_item.c
patch
|
blob
|
history
diff --git
a/src/plugins/rssyl/rssyl_add_item.c
b/src/plugins/rssyl/rssyl_add_item.c
index 49f4a2395dad0b9666fb1412830c99fd4ffe1187..b0222713bf1bdaa7110de7ee78231460c39d2d25 100644
(file)
--- a/
src/plugins/rssyl/rssyl_add_item.c
+++ b/
src/plugins/rssyl/rssyl_add_item.c
@@
-25,6
+25,7
@@
#endif
/* Global includes */
+#include <errno.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <string.h>
@@
-269,7
+270,7
@@
void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item)
MsgPermFlags oldperm_flags = 0;
MsgInfo *msginfo;
FILE *f;
- gint fd, d, dif
, errno = 0
;
+ gint fd, d, dif;
time_t tmpd;
gchar *meta_charset = NULL;
gchar *baseurl = NULL;