mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3: Fix the build, NAME_MAX not universally available
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 20 13:45:21 CEST 2011 on sn-devel-104
This commit is contained in:
parent
f0ff6f390a
commit
dc461cade5
@ -144,7 +144,7 @@ static char *shadow_copy2_insert_string(TALLOC_CTX *mem_ctx,
|
||||
time_t snapshot)
|
||||
{
|
||||
struct tm snap_tm;
|
||||
char gmt[NAME_MAX+1];
|
||||
fstring gmt;
|
||||
size_t gmt_len;
|
||||
|
||||
if (localtime_r(&snapshot, &snap_tm) == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user