Skip to content

Commit 800e091

Browse files
Tarcisio Rodriguesorca-zhang
authored andcommitted
Add include guards to prevent redefinition errors
1 parent a788887 commit 800e091

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

influxdb.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
77
Please see LICENSE file or visit https://github.com/orca-zhang/influxdb-cpp for details.
88
*/
9+
10+
#ifndef INFLUXDB_CPP_HPP
11+
#define INFLUXDB_CPP_HPP
12+
913
#include <sstream>
1014
#include <cstring>
1115
#include <cstdio>
@@ -300,3 +304,5 @@ namespace influxdb_cpp {
300304
}
301305
}
302306
}
307+
308+
#endif // INFLUXDB_CPP_HPP

0 commit comments

Comments
 (0)