Обсуждение: Missing header in zic.c?

Поиск
Список
Период
Сортировка

Missing header in zic.c?

От
"Dann Corbit"
Дата:
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?

От
Tom Lane
Дата:
"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