summaryrefslogtreecommitdiff
path: root/src/eli.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eli.h')
-rw-r--r--src/eli.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eli.h b/src/eli.h
index 8cd75a6..4a387f7 100644
--- a/src/eli.h
+++ b/src/eli.h
@@ -16,6 +16,9 @@ along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef _ELI_H
+#define _ELI_H
+
#include <stddef.h> // size_t
#define eli_rebase(x, xm, y) \
@@ -82,3 +85,5 @@ eli_unlink_real((void**)(pphead), (entry), &((*(pphead))->member), &((entry)->me
// Loop over a list
#define eli_for(i, head, member) \
for ((i) = (head); (i); (i) = (i)->member.next)
+
+#endif // _ELI_H