summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/gen/getdomainname.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/gen/getdomainname.c')
-rw-r--r--freebsd/lib/libc/gen/getdomainname.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/lib/libc/gen/getdomainname.c b/freebsd/lib/libc/gen/getdomainname.c
index 5588ef42..39234deb 100644
--- a/freebsd/lib/libc/gen/getdomainname.c
+++ b/freebsd/lib/libc/gen/getdomainname.c
@@ -43,7 +43,11 @@ __FBSDID("$FreeBSD$");
int
getdomainname(name, namelen)
char *name;
+#ifndef __rtems__
int namelen;
+#else /* __rtems__ */
+ size_t namelen;
+#endif /* __rtems__ */
{
int mib[2];
size_t size;