Added check for Unix specific headers and harmonize with Win32 build.
[pazpar2-moved-to-github.git] / src / util.c
index 8abcddc..353130f 100644 (file)
@@ -1,11 +1,27 @@
-/* $Id: util.c,v 1.2 2007-01-08 12:43:41 adam Exp $ */
+/* This file is part of Pazpar2.
+   Copyright (C) 2006-2008 Index Data
 
-#include <stdlib.h>
+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.
+
+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.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+*/
 
 #if HAVE_CONFIG_H
-#include <cconfig.h>
+#include <config.h>
 #endif
 
+#include <stdlib.h>
 #include <yaz/yaz-util.h>
 
 void die(char *string, char *add)