Changeset 4792 for neercs


Ignore:
Timestamp:
Dec 13, 2011, 9:20:38 AM (8 years ago)
Author:
Sam Hocevar
Message:

util.h and libutil.h seem mutually exclusive on OS X; only include the former.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/term.c

    r4791 r4792  
    1919#if defined HAVE_PTY_H
    2020#   include <pty.h>             /* for openpty and forkpty */
    21 #endif
    22 #if defined HAVE_UTIL_H
     21#elif defined HAVE_UTIL_H
    2322#   include <util.h>            /* for OS X, OpenBSD and NetBSD */
    24 #endif
    25 #if defined HAVE_LIBUTIL_H
     23#elif defined HAVE_LIBUTIL_H
    2624#   include <libutil.h>         /* for FreeBSD */
    2725#endif
Note: See TracChangeset for help on using the changeset viewer.