aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-03-20 14:37:29 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-03-20 15:00:09 +0100
commitf623ad65e81c76f34130be272a4efe1d1abe1e13 (patch)
tree92322c52132b8c92700efc09ff2e43278f3daa07 /lib
parentd7f0d2b8235d4988fd0ee044ce37f697a842ffa5 (diff)
lib/curl_path.h: add #ifdef header guard
Detected by lgtm.com
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_path.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/curl_path.h b/lib/curl_path.h
index f9d432750..5ee4ff367 100644
--- a/lib/curl_path.h
+++ b/lib/curl_path.h
@@ -1,3 +1,5 @@
+#ifndef HEADER_CURL_PATH_H
+#define HEADER_CURL_PATH_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -5,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, 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
@@ -42,3 +44,4 @@ CURLcode Curl_getworkingpath(struct connectdata *conn,
char **path);
CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir);
+#endif