Ignore:
Timestamp:
Jun 23, 2008, 11:02:26 PM (12 years ago)
Author:
Pascal Terjan
Message:
  • Move conditionnal include of pty.h from main.c to term.c
File:
1 edited

Legend:

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

    r2455 r2479  
    1919#include <stdio.h>
    2020#include <string.h>
    21 #include <pty.h>
     21#if defined HAVE_PTY_H
     22#   include <pty.h>  /* for openpty and forkpty */
     23#else
     24#   include <util.h> /* for OS X */
     25#endif
    2226#include <unistd.h>
    2327#include <fcntl.h>
Note: See TracChangeset for help on using the changeset viewer.