summaryrefslogtreecommitdiff
authorleseb <leseb>2002-07-04 12:22:09 (UTC)
committer leseb <leseb>2002-07-04 12:22:09 (UTC)
commit61b99edb481444aea41fa47853a5d60c78bfaa3c (patch) (side-by-side diff)
treeccfc78298de44fa6040313b054c54c5ab8c6ec83
parent3035c46ce448317f786d974094f78ce43e594a57 (diff)
downloadopie-61b99edb481444aea41fa47853a5d60c78bfaa3c.zip
opie-61b99edb481444aea41fa47853a5d60c78bfaa3c.tar.gz
opie-61b99edb481444aea41fa47853a5d60c78bfaa3c.tar.bz2
Fix for compiling on x86 (Red Hat)
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/fixed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/qpdf/fixed.h b/noncore/unsupported/qpdf/fixed.h
index ec0e696..44aaa5e 100644
--- a/noncore/unsupported/qpdf/fixed.h
+++ b/noncore/unsupported/qpdf/fixed.h
@@ -1,11 +1,12 @@
#ifndef __FIXED_H__
#define __FIXED_H__
+#include <stdlib.h>
#include <iostream>
#define _GCC_TEMPLATE_BUG_ 1
template <unsigned int SH> class fixed {
public:
inline fixed ( int i = 0 ) : m_f ( i2f( i ) ) { }
inline fixed ( double d ) : m_f ( d2f( d )) { }