aboutsummaryrefslogtreecommitdiff
path: root/shared/common
diff options
context:
space:
mode:
Diffstat (limited to 'shared/common')
-rw-r--r--shared/common/mifi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/common/mifi.c b/shared/common/mifi.c
index e3da3fe..c0a7178 100644
--- a/shared/common/mifi.c
+++ b/shared/common/mifi.c
@@ -15,7 +15,8 @@
#include "m_pd.h"
#include "mifi.h"
-#ifdef __linux__
+/* this is for GNU/Linux and also Debian GNU/Hurd and GNU/kFreeBSD */
+#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__) || defined(__GLIBC__)
#include <sys/types.h>
#ifndef uint32
typedef u_int32_t uint32;