--- cuneiform_src/CMakeLists.txt.orig	2011-05-31 18:28:12.000000000 +0200
+++ cuneiform_src/CMakeLists.txt	2011-05-31 18:28:39.000000000 +0200
@@ -30,7 +30,7 @@
 
 
 INCLUDE (CheckIncludeFiles)
-CHECK_INCLUDE_FILES (endian.h HAVE_ENDIAN_H)
+CHECK_INCLUDE_FILES (machine/endian.h HAVE_ENDIAN_H)
 
 add_definitions(-D_USE_RVERLINE_)
 
