Removed away include of system headers in comstack.h. Instead
[yaz-moved-to-github.git] / client / admin.c
index 2e8c39b..5d28af8 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: admin.c,v 1.16 2003-03-11 11:07:47 adam Exp $
+ * $Id: admin.c,v 1.19 2005-01-16 21:51:49 adam Exp $
  */
 
 #include <stdio.h>
 #include <time.h>
 #include <assert.h>
 
-#if HAVE_FNMATCH_H
+#if HAVE_DIRENT_H
 #include <dirent.h>
+#endif
+#if HAVE_FNMATCH_H
 #include <fnmatch.h>
+#endif
+#if HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
 
@@ -260,7 +264,7 @@ int cmd_adm_import(const char *arg)
     return 2;
 }
 #else
-int cmd_adm_import(char *arg)
+int cmd_adm_import(const char *arg)
 {
     printf ("not available on WIN32\n");
     return 0;