per-cxenix/misc.h AT_FDCWD and AT_EACCESS undefined on SUSE Leap 15.4
Linux user-space emulator SCO, Sun, Xenix and others
Brought to you by:
rstuart
Yes, I know - I'm using OpenSUSE instead of debian. It's what I know.
Compiling with gcc-13 on OpenSUSE Leap 15.4
The per-cxenix/misc.c in ibcs-us-4.2.1/ is giving me grief about undefined AT_FDCWD and AT_EACCESS defines.
Grepping across /usr/include, AT_FDCWD is defined as -100, and AT_EACCESS is defined as 0x200 in /usr/include/fcntl.h and /usr/include/linux/fcntl.h, which of course we don't include because those are clib includes.
Am I correct I can "safely" supply those definitions somewhere in the linux26-compat/linux/fnctl.h file (they are not defined in SUSE's bits/fnctl.h)?
Thanks
Ed
Title line should read misc.c, not misc.h
Okay - switching to debian to try to reproduce your buildinfo environment. Close this ticket.
Thanks for solving this yourself Ed. Closing as requested.