Made a workaround to not use the sh_access

The sh_access was defined to two arguments
Made a workaround to not use the sh_access
that was outputting the error.
Not ideal, but it will hopefully compile on Arch Linux

Also added mksh for compatibility
Ksh is unmaintained in the Arch User Repository

Signed-off-by: Nilton Perim Neto <niltonperimneto@gmail.com>
This commit is contained in:
Nilton Perim Neto
2025-02-03 14:47:17 -03:00
parent fbc9488037
commit e4c1e173fa
7 changed files with 16 additions and 1 deletions

View File

@@ -33,6 +33,8 @@
#include "name.h"
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <fcntl.h>
#include <X11/X.h>

View File

@@ -33,6 +33,8 @@
/* X includes */
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <fcntl.h>
#include <X11/X.h>

View File

@@ -32,6 +32,8 @@
#include "name.h"
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <string.h>
#include <dlfcn.h>
#include <X11/Intrinsic.h>

View File

@@ -30,6 +30,8 @@
/* actual or intended publication of such source code. */
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <stdlib.h>
#include <fcntl.h>

View File

@@ -32,6 +32,8 @@
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <fcntl.h>
#include <X11/X.h>

View File

@@ -32,6 +32,8 @@
#include "name.h"
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <X11/StringDefs.h>