aboutsummaryrefslogtreecommitdiff
path: root/inet/ether_hton.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/ether_hton.c')
-rw-r--r--inet/ether_hton.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/inet/ether_hton.c b/inet/ether_hton.c
index 848fe92115..8a1325b728 100644
--- a/inet/ether_hton.c
+++ b/inet/ether_hton.c
@@ -17,6 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <errno.h>
#include <netinet/ether.h>
#include <netinet/if_ether.h>
#include <string.h>
@@ -34,7 +35,8 @@ struct etherent
/* Type of the lookup function we need here. */
-typedef int (*lookup_function) (const char *, struct etherent *, char *, int);
+typedef int (*lookup_function) (const char *, struct etherent *, char *, int,
+ int *);
/* The lookup function for the first entry of this service. */
extern int __nss_ethers_lookup (service_user **nip, const char *name,