summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host-utils.h2
-rw-r--r--osdep.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/host-utils.h b/host-utils.h
index 0f77445110..b1e799ed3b 100644
--- a/host-utils.h
+++ b/host-utils.h
@@ -23,6 +23,8 @@
* THE SOFTWARE.
*/
+#include "osdep.h"
+
#if defined(__x86_64__)
#define __HAVE_FAST_MULU64__
static always_inline void mulu64 (uint64_t *plow, uint64_t *phigh,
diff --git a/osdep.h b/osdep.h
index 62de457048..a32242e07a 100644
--- a/osdep.h
+++ b/osdep.h
@@ -35,9 +35,11 @@
#define always_inline inline
#else
#define always_inline __attribute__ (( always_inline )) __inline__
+#define inline always_inline
#endif
-#endif
+#else
#define inline always_inline
+#endif
#ifdef __i386__
#define REGPARM __attribute((regparm(3)))