#include "wx/filefn.h"
#include "wx/datetime.h"
#include "wx/intl.h"
+#include "wx/longlong.h"
#if wxUSE_FILE
class WXDLLIMPEXP_FWD_BASE wxFile;
#if wxUSE_LONGLONG
// error code of wxFileName::GetSize()
-extern wxULongLong wxInvalidSize;
+extern WXDLLIMPEXP_DATA_BASE(const wxULongLong) wxInvalidSize;
#endif // wxUSE_LONGLONG