Added check for Unix specific headers and harmonize with Win32 build.
[pazpar2-moved-to-github.git] / src / dirent.c
index a0a8a73..6daba7e 100644 (file)
@@ -1,15 +1,12 @@
-/* $Id: dirent.c,v 1.10 2007-01-15 15:10:26 adam Exp $
-   Copyright (C) 1995-2007
-   Index Data ApS
+/* This file is part of Pazpar2.
+   Copyright (C) 2006-2008 Index Data
 
-This file is part of the Zebra server.
-
-Zebra is free software; you can redistribute it and/or modify it under
+Pazpar2 is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
 Software Foundation; either version 2, or (at your option) any later
 version.
 
-Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
+Pazpar2 is distributed in the hope that it will be useful, but WITHOUT ANY
 WARRANTY; without even the implied warranty of MERCHANTABILITY or
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
@@ -21,6 +18,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
 
+/* almost identical to dirent.c of Zebra. */
+
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <ctype.h>
 #include <assert.h>