summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-05-01 17:23:45 +0200
committerAki <please@ignore.pl>2020-05-01 17:28:52 +0200
commit170e1a8657cd806df13905bbab2c58365b3d62d0 (patch)
treeeba5c3edc7dfc722ccad30521ac4f91f8980dedd
parent6997e142fd46c114e7d7bb6cc0da1fbf2ff172cc (diff)
downloadplop-170e1a8657cd806df13905bbab2c58365b3d62d0.zip
plop-170e1a8657cd806df13905bbab2c58365b3d62d0.tar.gz
plop-170e1a8657cd806df13905bbab2c58365b3d62d0.tar.bz2
Added missing header guard
-rw-r--r--http.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/http.h b/http.h
index 88a793d..0cee2ab 100644
--- a/http.h
+++ b/http.h
@@ -1,3 +1,6 @@
+#ifndef HTTP_H
+#define HTTP_H
+
enum method
{
METHOD_GET,
@@ -30,3 +33,5 @@ extern const char * status_str[];
int respond_only_status(int, enum status);
int respond_with_body(int, enum status, const char *);
+
+#endif // HTTP_H