VirtualBox

Changeset 3109 in kBuild for trunk/src


Ignore:
Timestamp:
Oct 20, 2017 5:08:20 PM (8 years ago)
Author:
bird
Message:

More gnu hurd hacks

Location:
trunk/src/kmk/kmkbuiltin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/fts.c

    r2708 r3109  
    6161# include <alloca.h>
    6262#endif
     63#include "kmkbuiltin.h" /* MAXPATHLEN for GNU/hurd */
    6364
    6465#ifdef __sun__
  • trunk/src/kmk/kmkbuiltin/install.c

    r3101 r3109  
    5353#  include <sys/mman.h>
    5454# endif
    55 # ifndef __HAIKU__
     55# if !defined(__HAIKU__) && !defined(__gnu_hurd__)
    5656#  include <sys/mount.h>
    5757# endif
     
    215215                        break;
    216216                case 'f':
    217 #if defined(UF_IMMUTABLE) && K_OS != K_OS_GNU_KFBSD
     217#if defined(UF_IMMUTABLE) && K_OS != K_OS_GNU_KFBSD && K_OS != K_OS_GNU_HURD
    218218                        flags = optarg;
    219219                        if (strtofflags(&flags, &fset, NULL))
  • trunk/src/kmk/kmkbuiltin/mv.c

    r2546 r3109  
    5656# include <sys/time.h>
    5757# include <sys/wait.h>
    58 # ifndef __HAIKU__
     58# if !defined(__HAIKU__) && !defined(__gnu_hurd__)
    5959#  include <sys/mount.h>
    6060# endif
  • trunk/src/kmk/kmkbuiltin/rm.c

    r3102 r3109  
    4646#if !defined(_MSC_VER) && !defined(__HAIKU__)
    4747# include <sys/param.h>
    48 # include <sys/mount.h>
     48# ifndef __gnu_hurd__
     49#  include <sys/mount.h>
     50# endif
    4951#endif
    5052
     
    681683                        return (1);
    682684                bsd_strmode(sp->st_mode, modep);
    683 #if defined(SF_APPEND) && K_OS != K_OS_GNU_KFBSD
     685#if defined(SF_APPEND) && K_OS != K_OS_GNU_KFBSD && K_OS != K_OS_GNU_HURD
    684686                if ((flagsp = fflagstostr(sp->st_flags)) == NULL)
    685687                        exit(err(1, "fflagstostr"));
Note: See TracChangeset for help on using the changeset viewer.

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