since getopt was not the same on solaris and linux.
git-svn-id: http://svn.osgeo.org/postgis/trunk@87
b70326c6-7e19-0410-871a-
916f4a2858ee
//compile line for Refractions' Solaris machine...
//gcc -g -I/data3/postgresql-7.1.2/include -L/data3/postgresql-7.1.2/lib dump.c ../shapelib-1.2.8/shpopen.o ../shapelib-1.2.8/dbfopen.o -o dump -lpq
-#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "libpq-fe.h"
#include "shapefil.h"
+#include "getopt.h"
static void exit_nicely(PGconn *conn){
PQfinish(conn);
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <getopt.h>
typedef struct {double x, y;} Point;