Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 412389 | Differences between
and this patch

Collapse All | Expand All

(-)a/SConstruct (-1 / +2 lines)
Lines 313-319 def DoConfigure(): Link Here
313
    conf.CheckCHeader('sys/param.h')
313
    conf.CheckCHeader('sys/param.h')
314
    conf.CheckCHeader('sys/stat.h')
314
    conf.CheckCHeader('sys/stat.h')
315
    conf.CheckCHeader('sys/types.h')
315
    conf.CheckCHeader('sys/types.h')
316
    conf.CheckCHeader('unistd.h')
316
    if conf.CheckCHeader('unistd.h'):
317
        conf.Define('DHAVE_UNISTD_H', 1)
317
    conf.CheckCHeader('wchar.h')
318
    conf.CheckCHeader('wchar.h')
318
319
319
    # add essential package requirements
320
    # add essential package requirements
(-)a/src/portability.h (-4 / +2 lines)
Lines 44-58 Link Here
44
#include <string>
44
#include <string>
45
#include <cstring>
45
#include <cstring>
46
46
47
#if defined(sun)
47
#if defined(HAVE_UNISTD_H)
48
#include <unistd.h>
48
#include <unistd.h>
49
#ifdef __cplusplus
49
#ifdef __cplusplus
50
#include <algorithm>
50
#include <algorithm>
51
#else
51
#else
52
#include <sys/ddi.h>
52
#include <sys/ddi.h>
53
#endif //__cpluscplus
53
#endif //__cpluscplus
54
#endif //defined(sun)
54
#endif //defined(HAVE_UNISTD_H)
55
56
55
57
#ifndef HOST_OS_GNUC_2
56
#ifndef HOST_OS_GNUC_2
58
    #if defined(DEBUG) && !defined(NDEBUG)
57
    #if defined(DEBUG) && !defined(NDEBUG)
59
- 

Return to bug 412389