aboutsummaryrefslogtreecommitdiff
path: root/src/getpass.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-14 11:27:12 +0200
committerYang Tse <yangsita@gmail.com>2011-09-14 11:30:22 +0200
commit90080da5fefe943aec5aa0b9c08510dc1dd48be3 (patch)
tree56b7d4e90e481dbe7aff0bd5f72cb1f8b8e13925 /src/getpass.h
parent0216e517d07f6409534a222b69d550844aeeb4d8 (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/getpass.h')
-rw-r--r--src/getpass.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/getpass.h b/src/getpass.h
index 3b29d47a1..7d714fcf3 100644
--- a/src/getpass.h
+++ b/src/getpass.h
@@ -1,5 +1,5 @@
-#ifndef __GETPASS_H
-#define __GETPASS_H
+#ifndef HEADER_CURL_GETPASS_H
+#define HEADER_CURL_GETPASS_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, 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
@@ -21,6 +21,8 @@
* KIND, either express or implied.
*
***************************************************************************/
+#include "setup.h"
+
#ifndef HAVE_GETPASS_R
/* If there's a system-provided function named like this, we trust it is
also found in one of the standard headers. */
@@ -31,4 +33,4 @@
char* getpass_r(const char *prompt, char* buffer, size_t buflen );
#endif
-#endif
+#endif /* HEADER_CURL_GETPASS_H */