]>
Commit | Line | Data |
---|---|---|
20ce40f7 AM |
1 | diff -urNp -x '*.orig' irssi-1.2.2.org/src/core/misc.h irssi-1.2.2/src/core/misc.h |
2 | --- irssi-1.2.2.org/src/core/misc.h 2019-08-29 15:48:46.000000000 +0200 | |
3 | +++ irssi-1.2.2/src/core/misc.h 2021-05-04 21:22:59.014622440 +0200 | |
4 | @@ -4,6 +4,10 @@ | |
5 | int g_input_add_poll(int fd, int priority, int condition, | |
6 | GInputFunction function, void *data); | |
50c553f7 PS |
7 | |
8 | +#ifdef HAVE_CONFIG_H | |
3455183c | 9 | +#include "irssi-config.h" |
50c553f7 PS |
10 | +#endif |
11 | + | |
12 | /* `str' should be type char[MAX_INT_STRLEN] */ | |
13 | #define ltoa(str, num) \ | |
14 | g_snprintf(str, sizeof(str), "%d", num) | |
20ce40f7 AM |
15 | diff -urNp -x '*.orig' irssi-1.2.2.org/src/perl/module.h irssi-1.2.2/src/perl/module.h |
16 | --- irssi-1.2.2.org/src/perl/module.h 2019-08-29 15:48:46.000000000 +0200 | |
17 | +++ irssi-1.2.2/src/perl/module.h 2021-05-04 21:22:59.017955947 +0200 | |
6cd21451 | 18 | @@ -1,5 +1,9 @@ |
19 | #include "common.h" | |
20 | ||
50c553f7 | 21 | +#ifdef HAVE_CONFIG_H |
3455183c | 22 | +#include "irssi-config.h" |
50c553f7 PS |
23 | +#endif |
24 | + | |
25 | #ifdef NEED_PERL_H | |
26 | # include <EXTERN.h> | |
27 | # ifndef _SEM_SEMUN_UNDEFINED |