X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexim_lock.c;h=0a9dfde2da7f6cbcf96c6350d9af248da9441868;hb=d9d29e0555e6a3bf33cc616693d98c982796201f;hp=0c60ce107c5ae8c8095f4fc62185d788f1940b70;hpb=bf83d8d38bc9a0f3b3574eb6641b619e68d7a796;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/exim_lock.c b/src/src/exim_lock.c index 0c60ce107..0a9dfde2d 100644 --- a/src/src/exim_lock.c +++ b/src/src/exim_lock.c @@ -1,5 +1,3 @@ -/* $Cambridge: exim/src/src/exim_lock.c,v 1.4 2010/05/29 12:11:48 pdp Exp $ */ - /* A program to lock a file exactly as Exim would, for investigation of interlocking problems. @@ -72,6 +70,10 @@ the other stuff in os.c, so force the other macros to omit it. */ #define FIND_RUNNING_INTERFACES #endif +#ifndef OS_GET_DNS_RESOLVER_RES + #define OS_GET_DNS_RESOLVER_RES +#endif + #include "../src/os.c" @@ -183,7 +185,8 @@ BOOL quiet = FALSE; BOOL restore_times = FALSE; char *filename; char *lockname = NULL, *hitchname = NULL; -char *primary_hostname, *command; +char *primary_hostname; +const char *command; struct utsname s; char buffer[256]; char tempname[256];