p7zip: fix man page paths
[oi-userland.git] / components / sysutils / gammu / patches / 02-missing-prototypes.patch
blobb2c448f08742c89a3a5c3c5f362b801d03292ceb
1 --- gammu-1.37.4/smsd/services/sql.c.~1~ 2016-08-16 11:43:02.000000000 +0300
2 +++ gammu-1.37.4/smsd/services/sql.c 2016-10-21 09:21:10.807938415 +0300
3 @@ -9,7 +9,6 @@
4 * Licensed under GNU GPL version 2 or later
5 */
7 -#define _XOPEN_SOURCE
8 #define _BSD_SOURCE
9 #define _DEFAULT_SOURCE
10 #include <time.h>
11 @@ -23,6 +22,7 @@
12 #include <errno.h>
13 #include <time.h>
14 #include <assert.h>
15 +#include <strings.h>
16 #ifdef WIN32
17 #include <windows.h>
18 #endif
19 --- gammu-1.37.4/smsd/services/pgsql.c.1 2016-10-21 09:22:14.579949417 +0300
20 +++ gammu-1.37.4/smsd/services/pgsql.c 2016-10-21 09:22:19.980889607 +0300
21 @@ -1,7 +1,6 @@
22 /* (c) 2006 by Andrea Riciputi */
23 /* Copyright (c) 2009 - 2015 Michal Cihar <michal@cihar.com> */
25 -#define _XOPEN_SOURCE
26 #define _BSD_SOURCE
27 #define _DEFAULT_SOURCE
28 #include <time.h>
29 --- gammu-1.37.4/contrib/smscgi/sms_cgi.c.1 2016-10-21 09:24:05.545150895 +0300
30 +++ gammu-1.37.4/contrib/smscgi/sms_cgi.c 2016-10-21 09:24:47.714958990 +0300
31 @@ -18,6 +18,9 @@
35 +#ifdef __sun__
36 +#include <alloca.h>
37 +#endif
38 #include <gammu.h>
39 #include <stdlib.h>
40 #include <stdio.h>