Changeset 13760


Ignore:
Timestamp:
2007-01-23T16:57:17+13:00 (17 years ago)
Author:
kjdon
Message:

don't include getopt.h if UNISTD is defined, since it will conflict. - john mcP made this change to gs2 mg in 2003, why wasn't it in this version?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mg/sysfuncs.h

    r8694 r13760  
    283283#include <pathmax.h>
    284284
    285 /* Until getoptold function is declared in getopt.h, we need this here for
    286    struct option.  */
     285/* jrm21 2003 - this is in unistd.h now */
     286#ifndef HAVE_UNISTD_H
    287287#include <getopt.h>
     288#endif
    288289
    289290#ifdef WITH_DMALLOC
Note: See TracChangeset for help on using the changeset viewer.