summaryrefslogtreecommitdiffstats
path: root/libmpeg2/attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpeg2/attributes.h')
-rw-r--r--libmpeg2/attributes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmpeg2/attributes.h b/libmpeg2/attributes.h
index eefbc0dd1b..e005eef1c3 100644
--- a/libmpeg2/attributes.h
+++ b/libmpeg2/attributes.h
@@ -21,6 +21,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifndef LIBMPEG2_ATTRIBUTES_H
+#define LIBMPEG2_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 /* LIBMPEG2_ATTRIBUTES_H */