]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.h
Amend febd1855eb: fix compilability of tex2lyx
[lyx.git] / src / DepTable.h
index 41085af9f69b8c276b325206084d1a1b91ef3a98..13498b7593b2203beb60a13d73e1b3311d7778d9 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  *
  * Full author contact details are available in file CREDITS.
 #ifndef DEP_TABLE_H
 #define DEP_TABLE_H
 
-#include "support/FileName.h"
-
+#include <ctime>
 #include <map>
 #include <string>
 
 
 namespace lyx {
 
+namespace support { class FileName; }
+
 ///
 class DepTable {
 public:
@@ -58,7 +59,7 @@ private:
                /// Current CRC value - only re-computed if mtime has changed.
                unsigned long crc_cur;
                /// mtime from last time current CRC was calculated.
-               long mtime_cur;
+               std::time_t mtime_cur;
                ///
                bool changed() const;
        };