wok-4.x view vzquota/stuff/vzquota-3.0.12.u @ rev 11457

libvalhalla: fix build
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:42:21 2011 +0100 (2011-12-17)
parents
children
line source
1 --- vzquota-3.0.12-ori/src/Makefile Thu Mar 6 20:28:38 2008
2 +++ vzquota-3.0.12/src/Makefile Fri Dec 31 10:33:49 2010
3 @@ -18,7 +18,7 @@
4 INSTALL = install
5 PREFIX = /usr
6 SBINDIR = ${PREFIX}/sbin
7 -VARDIR = /var
8 +VARDIR = /var/lib
9 MANDIR = ${PREFIX}/share/man
11 #DEBUG = -D_DEBUG -g3 -ggdb3 -p -pg
12 --- vzquota-3.0.12-ori/src/vzdqload.c Thu Mar 6 20:28:38 2008
13 +++ vzquota-3.0.12/src/vzdqload.c Fri Dec 31 10:33:39 2010
14 @@ -20,7 +20,10 @@
15 #include <sys/types.h>
17 /* to include vsscanf() */
18 -#define __USE_ISOC99
19 +#ifndef __USE_ISOC99
20 + #define __USE_ISOC99
21 +#endif
22 +
23 #include <stdio.h>
25 #include <stdlib.h>