[EMAIL PROTECTED] (Doug MacEachern) wrote:
>On Thu, 17 May 2001, Ken Williams wrote:
>> They're also in /usr/include/unistd.h , but is the opening #ifndef
>> messing things up, perhaps? (don't know what yours looks like)
>
>no, that's a standard convention so header files don't get included
>more that once.

Oh, duh.

>>  /* check: #include <unistd.h> */
>> -#ifndef HAVE_UNISTD_H
>> -#define HAVE_UNISTD_H 1
>> +#ifdef HAVE_UNISTD_H
>> +#undef HAVE_UNISTD_H
>>  #endif
>
>don't know why they're so different, but this looks like part of the
>problem, since you do have unistd_h
>i would try changing this part to:
>
>#ifndef HAVE_UNISTD_H
>#define HAVE_UNISTD_H 1
>#endif

Yeah, that worked.  I also changed the HAVE_SYS_PARAM_H def, which I
assumed would also be needed.

So I guess it's a mystery why those definitions were different in the
two builds.  Any hint for where to start looking?


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to