summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2019-07-01 09:15:20 +0000
committerepoch <epoch@hack.thebackupbox.net>2019-07-01 09:15:20 +0000
commit333326a1ee74040ab4de956f1045e9c9e66ebd06 (patch)
treefd8dadee4d1976a6d6909c9c0034317514829b76
parentac184f83e4786219103701c78ab82b188b093133 (diff)
downloadlibidc-333326a1ee74040ab4de956f1045e9c9e66ebd06.tar.gz
libidc-333326a1ee74040ab4de956f1045e9c9e66ebd06.zip
added double inclusion protection to idc.h. I know there's a real name for those things... oh well.
-rw-r--r--idc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/idc.h b/idc.h
index cce3906..518a3f5 100644
--- a/idc.h
+++ b/idc.h
@@ -1,3 +1,6 @@
+#ifndef _IDC_H_
+#define _IDC_H_
+
#include <sys/select.h>
char *read_line_hack(FILE *fp,int len);
@@ -33,3 +36,4 @@ struct idc_global {
};
int add_fd(int fd,void (*line_handler)(struct shit *,char *));
+#endif