]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/znc/0002-csocket-timeh.patch
cbd435fc82b8212253ee1cc2f843b9e8104a1cb2
[coffee/buildroot.git] / package / znc / 0002-csocket-timeh.patch
1 Include time.h since time_t is used.
2
3 Status: not upstream, seems to be fixed in newer CSocket versions in a
4 different way but it hasn't been updated/bundled in znc yet.
5
6 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7
8 diff -Nura znc-1.6.1.orig/src/Csocket.cpp znc-1.6.1.cs/src/Csocket.cpp
9 --- znc-1.6.1.orig/src/Csocket.cpp      2015-08-06 10:14:45.256246307 -0300
10 +++ znc-1.6.1.cs/src/Csocket.cpp        2015-08-06 10:27:25.380446888 -0300
11 @@ -54,6 +54,8 @@
12  #include <unicode/ucnv_cb.h>
13  #endif /* HAVE_ICU */
14  
15 +#include <time.h>
16 +
17  #include <list>
18  
19  #define CS_SRANDBUFFER 128