summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-12 06:09:48 +0000
committerderaadt <deraadt@openbsd.org>2013-11-12 06:09:48 +0000
commit35d50e37c6a86fa2a0d7df2bf7fb22b25ce1eba9 (patch)
treee06a918583a6e99b18099c686a0505d3e248b31c /lib/libc/rpc
parentpull in stdlib.h as required (diff)
downloadwireguard-openbsd-35d50e37c6a86fa2a0d7df2bf7fb22b25ce1eba9.tar.xz
wireguard-openbsd-35d50e37c6a86fa2a0d7df2bf7fb22b25ce1eba9.zip
pull in missing includes (math.h, unistd.h, stdlib.h) needed for
prototypes
Diffstat (limited to 'lib/libc/rpc')
-rw-r--r--lib/libc/rpc/get_myaddress.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/get_myaddress.c b/lib/libc/rpc/get_myaddress.c
index 9ab13c63cd9..72e39494742 100644
--- a/lib/libc/rpc/get_myaddress.c
+++ b/lib/libc/rpc/get_myaddress.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: get_myaddress.c,v 1.13 2010/09/01 14:43:34 millert Exp $ */
+/* $OpenBSD: get_myaddress.c,v 1.14 2013/11/12 06:09:50 deraadt Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -40,6 +40,7 @@
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/pmap_prot.h>
+#include <rpc/rpc.h>
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>