More explicit use of #if HAVE_...header's.
[yaz-moved-to-github.git] / src / log.c
index 93a2555..40baf7f 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -1,8 +1,6 @@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
  * See the file LICENSE for details.
- *
- * $Id: log.c,v 1.55 2008-02-18 16:44:48 adam Exp $
  */
 
 /**
@@ -18,7 +16,9 @@
 #include <windows.h>
 #endif
 
+#if HAVE_SYS_STAT_H
 #include <sys/stat.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>