summaryrefslogtreecommitdiffstats
path: root/k9decmpeg/attributes.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-05-02 01:32:05 +0200
committerSlávek Banko <[email protected]>2019-05-02 01:32:19 +0200
commit59c088d3aae47755abc5347446f8a9545029dfc8 (patch)
tree9d65b1a0a7dab263ee0d7091485c629bfbf68911 /k9decmpeg/attributes.h
parentc2de969d25250c200e2e1143a8744b2776171f87 (diff)
downloadk9copy-59c088d3aae47755abc5347446f8a9545029dfc8.tar.gz
k9copy-59c088d3aae47755abc5347446f8a9545029dfc8.zip
Fix FTBFS for build with --enable-final.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit ced814784b055ce98204e74b54335f7a2f8ffe16)
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 */