aboutsummaryrefslogtreecommitdiff
path: root/shared/shared.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-02 06:34:02 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-02 06:34:02 +0000
commitbaab5287be57df7cf4fb557cb741c2dfd2506877 (patch)
treec0d1160f7e286bd70a24b229e4b25a0957c908c1 /shared/shared.h
parentced404f8b0abe200548e54db797451efbf1fe261 (diff)
support Debian GNU/Hurd and GNU/kFreeBSD by using same settings as GNU/Linux
svn path=/trunk/externals/miXed/; revision=15862
Diffstat (limited to 'shared/shared.h')
-rw-r--r--shared/shared.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/shared.h b/shared/shared.h
index 73e84e2..7809fb6 100644
--- a/shared/shared.h
+++ b/shared/shared.h
@@ -25,7 +25,8 @@
typedef unsigned long shared_t_bitmask;
-#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 int32
typedef int32_t int32;