Thread: Missing header in zic.c?

Missing header in zic.c?

From
"Dann Corbit"
Date:
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.
 

Re: Missing header in zic.c?

From
Tom Lane
Date:
"Dann Corbit" <DCorbit@connx.com> writes:
> When compiling zic.c, the definition for optarg was missing (obviously
> getopt.h was missing).  Adding getopt.h to zic.c solved that problem.

Fixed --- thanks.
        regards, tom lane