aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2014-05-06 00:25:09 +0100
committerPhillip Lougher <phillip@squashfs.org.uk>2014-05-06 00:25:09 +0100
commit4033399ec6db13cc9dcc684cf995b5679f0e408e (patch)
tree1ed4a3a7ee7b93abbded1e0004a61d3dc5f1e5d0
parent827a121b51096e9b8b8ab8dd92d5ae5d2ed52b04 (diff)
downloadsquashfs-tools-4033399ec6db13cc9dcc684cf995b5679f0e408e.tar.gz
compressor: protect against multiple inclusion
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
-rw-r--r--squashfs-tools/compressor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/squashfs-tools/compressor.h b/squashfs-tools/compressor.h
index 5ef0989..4679d91 100644
--- a/squashfs-tools/compressor.h
+++ b/squashfs-tools/compressor.h
@@ -1,6 +1,8 @@
+#ifndef COMPRESSOR_H
+#define COMPRESSOR_H
/*
*
- * Copyright (c) 2009, 2010, 2011, 2012, 2013
+ * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014
* Phillip Lougher <phillip@squashfs.org.uk>
*
* This program is free software; you can redistribute it and/or
@@ -119,3 +121,4 @@ static inline void compressor_display_options(struct compressor *comp,
if(comp->display_options != NULL)
comp->display_options(buffer, size);
}
+#endif