*
* PostGIS to Shapefile converter
*
- * Original Author: Jeff Lounsbury, jeffloun@refractions.net
- *
- * Maintainer: Sandro Santilli, strk@refractions.net
+ * Original Author: Jeff Lounsbury <jeffloun@refractions.net>
+ * Maintainer: Sandro Santilli <strk@keybit.bet>
*
**********************************************************************/
-static char rcsid[] =
- "$Id$";
+static char rcsid[] = "$Id$";
#include "../postgis_config.h"
/* Solaris9 does not provide stdint.h */
/* #include <stdint.h> */
#include <inttypes.h>
-#include "libpq-fe.h"
-#include "shapefil.h"
-#include "getopt.h"
#include <sys/types.h> // for getpid()
-#include <unistd.h> // for getpid() and getopt
+
+#ifdef HAVE_UNISTD_H // for getpid() and getopt
+#include <unistd.h>
+#endif
#ifdef __CYGWIN__
#include <sys/param.h>
#endif
+#include "libpq-fe.h"
+#include "shapefil.h"
+#include "getopt.h"
+
#include "../liblwgeom/liblwgeom.h"
/*
* PostGIS - Spatial Types for PostgreSQL
* http://postgis.refractions.net
* Copyright 2001-2003 Refractions Research Inc.
- * Copyright 2009 Paul Ramsey
+ * Copyright 2009 Paul Ramsey <pramsey@cleverelephant.ca>
* Copyright 2009 Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU General Public Licence. See the COPYING file.
- */
+ *
+ **********************************************************************/
#include <stdio.h>
#include <string.h>