diff options
Diffstat (limited to 'recordmydesktop/include')
-rw-r--r-- | recordmydesktop/include/rmdtypes.h | 6 |
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> |