VirtualBox

Changeset 809 in kBuild for trunk/src/ash/jobs.c


Ignore:
Timestamp:
Jan 29, 2007 5:54:36 AM (18 years ago)
Author:
bird
Message:

Solaris + cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ash/jobs.c

    r626 r809  
    3333 */
    3434
     35#ifdef HAVE_SYS_CDEFS_H
    3536#include <sys/cdefs.h>
     37#else
     38#define _PATH_DEVNULL "/dev/null"
     39#endif
    3640#ifndef lint
    3741#if 0
     
    4347
    4448#include <fcntl.h>
     49#ifdef __sun__
     50#define sys_siglist _sys_siglist
     51#endif
    4552#include <signal.h>
    4653#include <errno.h>
    4754#include <unistd.h>
    4855#include <stdlib.h>
     56#ifndef __sun__
    4957#include <paths.h>
     58#endif
    5059#include <sys/types.h>
    5160#include <sys/param.h>
    52 #ifdef BSD
     61#if defined(BSD) || defined(__sun__)
    5362#include <sys/wait.h>
    5463#include <sys/time.h>
     
    688697        int i;
    689698        const char *err_msg = "No such job: %s";
    690                
     699
    691700        if (name == NULL) {
    692701#if JOBS
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette