]> git.lyx.org Git - features.git/commitdiff
"proper" fix for utime use in filetools.cpp
authorAndré Pönitz <poenitz@gmx.net>
Tue, 21 Aug 2007 23:16:49 +0000 (23:16 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 21 Aug 2007 23:16:49 +0000 (23:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19711 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac
src/support/filetools.cpp

index b23313e2ed6125d4da9fe5f37b2fcbca9ed0e0b6..4f5e32e396bee19c4787c039e64390e8ddef86f5 100644 (file)
@@ -236,7 +236,7 @@ AC_LANG_POP(C)
 # some standard header files
 AC_HEADER_DIRENT
 AC_HEADER_MAJOR
-AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h strings.h locale.h io.h process.h NewAPIs.h)
+AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h strings.h locale.h io.h process.h NewAPIs.h utime.h sys/utime.h)
 
 # some standard structures
 AC_HEADER_STAT
index 8845451183f1151d6ab234d3e4669c8b9fcedd85..2a761e1950736290770fd23149d3861c61315f7e 100644 (file)
@@ -50,9 +50,6 @@
 #include <fstream>
 #include <sstream>
 
-// FIXME Availability?
-#include <utime.h>  // for utimbuf
-
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif