Missing header in zic.c? - Mailing list pgsql-hackers

From Dann Corbit
Subject Missing header in zic.c?
Date
Msg-id 54798A299E68514AB7C4DEBA25F03BE101BBA8@postal.corporate.connx.com
Whole thread Raw
Responses Re: Missing header in zic.c?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Perhaps it is a Win32 only issue.
 
This is from today's snapshot.
 
When compiling zic.c, the definition for optarg was missing (obviously getopt.h was missing).  Adding getopt.h to zic.c solved that problem.
 
Perhaps it is a combination of compiler flags that skirts the inclusion.  I performed a make clean and then a make using the MINGW tool set.
 

pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: parameter hints to the optimizer
Next
From: "Dann Corbit"
Date:
Subject: miniscule compiler barf in pg_ctl.c