summaryrefslogtreecommitdiff
path: root/libavutil/softfloat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/softfloat.h')
-rw-r--r--libavutil/softfloat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 422c1b3d6d..acf29b2ac5 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -19,6 +19,9 @@
*
*/
+#ifndef AVUTIL_SOFTFLOAT_H
+#define AVUTIL_SOFTFLOAT_H
+
#include <stdint.h>
#define MIN_EXP -126
@@ -122,3 +125,5 @@ static inline int av_sf2int(SoftFloat v, int frac_bits){
if(v.exp >= 0) return v.mant << v.exp ;
else return v.mant >>(-v.exp);
}
+
+#endif