summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2001-02-15 10:35:55 +0000
committerume <ume@FreeBSD.org>2001-02-15 10:35:55 +0000
commitbf66c2eda88095d4910d396920c45781fd19db78 (patch)
treefec467d8f011430483519c5b12d0778cc7154c94 /sys/powerpc
parent126eb13f1ad3a376c386474ffbc2051157e8b493 (diff)
downloadFreeBSD-src-bf66c2eda88095d4910d396920c45781fd19db78.zip
FreeBSD-src-bf66c2eda88095d4910d396920c45781fd19db78.tar.gz
Correct 2nd argument of getnameinfo(3) to socklen_t.
Reviewed by: itojun
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/ansi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/include/ansi.h b/sys/powerpc/include/ansi.h
index ff43b39..8cc844e 100644
--- a/sys/powerpc/include/ansi.h
+++ b/sys/powerpc/include/ansi.h
@@ -53,6 +53,7 @@
#define _BSD_SSIZE_T_ long /* byte count or error */
#define _BSD_TIME_T_ long /* time() */
#define _BSD_TIMER_T_ int /* timer_t */
+#define _BSD_SOCKLEN_T_ __uint32_t /* socklen_t */
#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC_MINOR__ > 95)
#define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */
OpenPOWER on IntegriCloud