summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32/freebsd32_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_util.h')
-rw-r--r--sys/compat/freebsd32/freebsd32_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32_util.h b/sys/compat/freebsd32/freebsd32_util.h
index 23f2aba..b9e0a7c 100644
--- a/sys/compat/freebsd32/freebsd32_util.h
+++ b/sys/compat/freebsd32/freebsd32_util.h
@@ -37,6 +37,11 @@
#include <sys/sysent.h>
#include <sys/cdefs.h>
+
+#ifndef SCARG
+#define SCARG(p, x) (p)->x
+#endif
+
struct ia32_ps_strings {
u_int32_t ps_argvstr; /* first of 0 or more argument strings */
int ps_nargvstr; /* the number of argument strings */
OpenPOWER on IntegriCloud