summaryrefslogtreecommitdiff
path: root/post.h
diff options
context:
space:
mode:
Diffstat (limited to 'post.h')
-rw-r--r--post.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/post.h b/post.h
index acfa3f3..05af269 100644
--- a/post.h
+++ b/post.h
@@ -1,3 +1,6 @@
+#ifndef RTCLIENT_POST_H
+#define RTCLIENT_POST_H
+
#include "request.h"
inline void post(const char *path, const char *pairs[], size_t n)
@@ -36,3 +39,5 @@ inline void post(const char *path, const char *pairs[], size_t n)
curl_formfree(post);
post = NULL;
}
+
+#endif // RTCLIENT_POST_H