Changeset 394 for trunk/src


Ignore:
Timestamp:
Feb 23, 2012, 9:43:57 PM (13 years ago)
Author:
katerina
Message:

Fix for ticket #291 (Compile error on Solaris 10)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_processcheck.c

    r384 r394  
    3030 * which needs _POSIX_C_SOURCE >= 200112 for lstat()
    3131 */
     32#if defined(__sun) || defined(__sun__) || defined(sun)
     33#define _XOPEN_SOURCE 500
     34#else
    3235#define _XOPEN_SOURCE 600
     36#endif
    3337
    3438#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.