Changeset 2479


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
Location:
neercs/trunk/src
Files:
2 edited

Legend:

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

    r2478 r2479  
    2828#include <time.h>
    2929
    30 #if defined HAVE_PTY_H
    31 #   include <pty.h>  /* for openpty and forkpty */
    32 #else
    33 #   include <util.h> /* for OS X */
    34 #endif
    3530#if !defined HAVE_GETOPT_LONG
    3631#   include "mygetopt.h"
  • 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.