From 90080da5fefe943aec5aa0b9c08510dc1dd48be3 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 14 Sep 2011 11:27:12 +0200 Subject: curl tool: re-enable MemoryTracking capability on 'src' subdirectory files. Use same preprocessor logic for curl tool MemoryTracking activation in source files located in 'src' subdirectory as the one used for libcurl sources. --- src/urlglob.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/urlglob.h') diff --git a/src/urlglob.h b/src/urlglob.h index a5b789e6b..44681ea90 100644 --- a/src/urlglob.h +++ b/src/urlglob.h @@ -1,5 +1,5 @@ -#ifndef __URLGLOB_H -#define __URLGLOB_H +#ifndef HEADER_CURL_URLGLOB_H +#define HEADER_CURL_URLGLOB_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2009, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,6 +21,8 @@ * KIND, either express or implied. * ***************************************************************************/ +#include "setup.h" + typedef enum { UPTSet=1, UPTCharRange, @@ -64,4 +66,4 @@ char* glob_next_url(URLGlob*); char* glob_match_url(char*, URLGlob *); void glob_cleanup(URLGlob* glob); -#endif +#endif /* HEADER_CURL_URLGLOB_H */ -- cgit v1.2.3