diff options
author | Yang Tse <yangsita@gmail.com> | 2011-09-14 11:27:12 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-09-14 11:30:22 +0200 |
commit | 90080da5fefe943aec5aa0b9c08510dc1dd48be3 (patch) | |
tree | 56b7d4e90e481dbe7aff0bd5f72cb1f8b8e13925 /src/xattr.c | |
parent | 0216e517d07f6409534a222b69d550844aeeb4d8 (diff) |
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.
Diffstat (limited to 'src/xattr.c')
-rw-r--r-- | src/xattr.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/xattr.c b/src/xattr.c index 1600d88c6..146acf94c 100644 --- a/src/xattr.c +++ b/src/xattr.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2010, 2011, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -19,15 +19,19 @@ * KIND, either express or implied. * ***************************************************************************/ - -/* client-local setup.h */ #include "setup.h" -#include <curl/curl.h> -#include "xattr.h" #ifdef HAVE_FSETXATTR #include <sys/types.h> #include <sys/xattr.h> /* include header from libc, not from libattr */ +#endif + +#include <curl/curl.h> +#include "xattr.h" + +#include "memdebug.h" /* keep this as LAST include */ + +#ifdef HAVE_FSETXATTR /* mapping table of curl metadata to extended attribute names */ static const struct xattr_mapping { |