mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:13:31 +03:00
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.
This commit is contained in:
parent
0216e517d0
commit
90080da5fe
20 changed files with 88 additions and 89 deletions
14
src/xattr.c
14
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue