mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
r17952: merge changes from samba3
metze
(This used to be commit ff8d044c2e)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4ce057c3f4
commit
930edaaba7
@@ -24,6 +24,10 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef _SAMBA_BUILD_
|
||||||
|
#include "version.h"
|
||||||
|
#endif /* _SAMBA_BUILD_ */
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -64,7 +68,7 @@ static double timeval_elapsed(struct timeval *tv)
|
|||||||
(tv2.tv_usec - tv->tv_usec)*1.0e-6;
|
(tv2.tv_usec - tv->tv_usec)*1.0e-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if SAMBA_VERSION_MAJOR<4
|
#if SAMBA_VERSION_MAJOR==3
|
||||||
#ifdef malloc
|
#ifdef malloc
|
||||||
#undef malloc
|
#undef malloc
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user