Hylafax Developers Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-devel] Re: 2 more patches & Clean compile on AIX w. gcc 2.95.2
At 07:47 PM 3/2/00 -0700, Steve Williams wrote:
>Hi,
>
>I have got a clean compile on latest CVS ( March 2, 2:00 pm MST ) with two
>small patches. This is on AIX 4.2.1 with gcc 2.95.2 ( compiled locally
>with the IBM xlC compiler) .
>
>Haven't installed or ran it yet, I don't have my guinea pig machine on the
>network right now..
>
>Next test will be to see how the AIX compiler does on it...
>
>1) missing prototype for snprintf
> Yes... AIX 4.2 doesn't have a prototype for snprintf, though the
> function exists. So, I added a test to configure for snprintf
Added this.
>2) hfaxd/SuperServer.c++ missing fd_set declaration.
> Not 100 % sure how to resolve this one, SuperServer.c++ was just the
> first of a couple of progams that had this problem.
>
> Looking @ util/Dispatcher.h, it is the one using the fd_set, so I figured
> that was a reasonable place to put an include for <sys/select.h>
>
> Configure looks for a select prototype, and assumes if it finds one,
> fd_set will be there as well, but Dispatcher.h doesn't include any of
> the include files that configure looks at...
>
> So, the second patch... but I am open to better solutions..
I just moved the sys/select.h header file from Dispatcher.c++ to Dispatcher.h.
- Robert