Ignore:
Timestamp:
2001-04-04T10:55:49+12:00 (23 years ago)
Author:
jrm21
Message:

changes to include the right header files, and toplevel config.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/getpw/getpw.cpp

    r1600 r2276  
    2828#include "crypt.h"
    2929#else
     30
     31#define _XOPEN_SOURCE 1
     32/* following is for solaris */
     33#define _XOPEN_SOURCE_EXTENDED 1
     34
     35#include "config.h"
    3036#if defined(HAVE_CRYPT_H)
    3137#include <crypt.h>
    32 #else
    33 #define _XOPEN_SOURCE 1
     38#endif
     39
     40#if defined(HAVE_UNISTD_H)
    3441#include <unistd.h>
    3542#endif
    36 #endif
     43/* we are probably in trouble if we have neither crypt.h or unistd.h,
     44   but for now we'll do nothing about it... */
     45
     46#endif  /* not WIN32 */
    3747
    3848#if defined(GSDL_USE_OBJECTSPACE)
Note: See TracChangeset for help on using the changeset viewer.