summaryrefslogtreecommitdiff
path: root/recordmydesktop/include
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-01-29 13:05:19 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2007-01-29 13:05:19 +0000
commit6ddb091a949d1c7ef107307aedf980bc34f6aa57 (patch)
treeba90499124857ba1d25aba33afaca34310384895 /recordmydesktop/include
parent46028c7ea0c7cd37d6c5e6c6196978afc950dce4 (diff)
added check in configure.ac for machine/endian.h (BSD).
Fixed fpe in FlushBlock git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@268 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/include')
-rw-r--r--recordmydesktop/include/rmdtypes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/recordmydesktop/include/rmdtypes.h b/recordmydesktop/include/rmdtypes.h
index 5430ef4..de9565a 100644
--- a/recordmydesktop/include/rmdtypes.h
+++ b/recordmydesktop/include/rmdtypes.h
@@ -43,7 +43,11 @@
#include <signal.h>
#include <sys/time.h>
#include <sys/types.h>
-#include <endian.h>
+#ifdef HAVE_MACHINE_ENDIAN_H
+ #include <machine/endian.h>
+#else
+ #include <endian.h>
+#endif
#include <limits.h>
#include <sys/stat.h>
#include <sys/ipc.h>
© All Rights Reserved