aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rwxr-xr-xsysdeps/unix/configure5
-rw-r--r--sysdeps/unix/configure.in4
-rw-r--r--sysdeps/unix/i386/sysdep.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/sysdeps/unix/configure b/sysdeps/unix/configure
index 8069c52d6b..4fb599a72c 100755
--- a/sysdeps/unix/configure
+++ b/sysdeps/unix/configure
@@ -64,7 +64,10 @@ for unix_function in \
access select getgroups setgroups \
getitimer setitimer \
getdomainname/getdomain=bsd/bsd4.4 \
- setdomainname/setdomain=bsd/bsd4.4
+ setdomainname/setdomain=bsd/bsd4.4 \
+ profil=bsd \
+ getpriority setpriority \
+ getrlimit setrlimit
do
# $unix_function => $unix_syscall $unix_srcname
diff --git a/sysdeps/unix/configure.in b/sysdeps/unix/configure.in
index 08a925a5ee..6d8a1fd006 100644
--- a/sysdeps/unix/configure.in
+++ b/sysdeps/unix/configure.in
@@ -72,7 +72,9 @@ for unix_function in \
getitimer setitimer \
getdomainname/getdomain=bsd/bsd4.4 \
setdomainname/setdomain=bsd/bsd4.4 \
- profil=bsd
+ profil=bsd \
+ getpriority setpriority \
+ getrlimit setrlimit
do
# $unix_function => $unix_syscall $unix_srcname
diff --git a/sysdeps/unix/i386/sysdep.h b/sysdeps/unix/i386/sysdep.h
index 46f2886c4a..7fd77dd936 100644
--- a/sysdeps/unix/i386/sysdep.h
+++ b/sysdeps/unix/i386/sysdep.h
@@ -29,7 +29,7 @@ Cambridge, MA 02139, USA. */
/* For ELF we need the `.type' directive to make shared libs work right. */
#ifdef HAVE_ELF
-#define ASM_TYPE_DIRECTIVE(name,type) .type name,type;
+#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
#else
#define ASM_TYPE_DIRECTIVE(name,type) /* Nothing is specified. */
#endif