summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/ansi.h
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/alpha/include/ansi.h
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/alpha/include/ansi.h')
-rw-r--r--sys/alpha/include/ansi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/alpha/include/ansi.h b/sys/alpha/include/ansi.h
index be0e637..6acc404 100644
--- a/sys/alpha/include/ansi.h
+++ b/sys/alpha/include/ansi.h
@@ -54,6 +54,7 @@
#define _BSD_SSIZE_T_ long /* byte count or error */
#define _BSD_TIME_T_ int /* 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