compressor: protect against multiple inclusion
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
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 @@
if(comp->display_options != NULL)
comp->display_options(buffer, size);
}
+#endif