summaryrefslogtreecommitdiffstats
path: root/k9decmpeg/attributes.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-05-02 01:32:05 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-02 01:32:05 +0200
commitced814784b055ce98204e74b54335f7a2f8ffe16 (patch)
tree62c5da15640219d90f70fd7b6493a10439148e70 /k9decmpeg/attributes.h
parent2456e6ce6123b5324d35c2192e38660d1cb3342d (diff)
downloadk9copy-ced814784b055ce98204e74b54335f7a2f8ffe16.tar.gz
k9copy-ced814784b055ce98204e74b54335f7a2f8ffe16.zip
Fix FTBFS for build with --enable-final.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'k9decmpeg/attributes.h')
-rw-r--r--k9decmpeg/attributes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/k9decmpeg/attributes.h b/k9decmpeg/attributes.h
index 1c58c0a..8a64fcf 100644
--- a/k9decmpeg/attributes.h
+++ b/k9decmpeg/attributes.h
@@ -21,6 +21,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef ATTRIBUTES_H
+#define ATTRIBUTES_H
+
/* use gcc attribs to align critical data structures */
#ifdef ATTRIBUTE_ALIGNED_MAX
#define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((ATTRIBUTE_ALIGNED_MAX < align) ? ATTRIBUTE_ALIGNED_MAX : align)))
@@ -35,3 +38,5 @@
#define likely(x) (x)
#define unlikely(x) (x)
#endif
+
+#endif /* ATTRIBUTES_H */