You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/01/31 20:23:24 UTC
[incubator-nuttx] branch master updated: include/netinet/arp.h:
Previous network changes broke the build test (#193)
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new e86b516 include/netinet/arp.h: Previous network changes broke the build test (#193)
e86b516 is described below
commit e86b516f9d40465740e61ea3c4d5353942451fcb
Author: patacongo <sp...@yahoo.com>
AuthorDate: Fri Jan 31 14:23:15 2020 -0600
include/netinet/arp.h: Previous network changes broke the build test (#193)
---
include/netinet/arp.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/netinet/arp.h b/include/netinet/arp.h
index c28a359..f9d66a1 100644
--- a/include/netinet/arp.h
+++ b/include/netinet/arp.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/netinet/arp.h
*
- * Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009, 2012, 2020 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gn...@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -43,6 +43,8 @@
#include <nuttx/config.h>
#include <stdint.h>
+#include <net/if.h>
+
#include <nuttx/fs/ioctl.h>
/****************************************************************************
@@ -81,7 +83,7 @@ struct arpreq
struct sockaddr arp_ha; /* Hardware address */
struct sockaddr arp_netmask; /* Netmask of protocol address */
uint8_t arp_flags; /* Flags */
- uint8_t arp_dev[IFNAMSIZ+1]; /* Device name (zero terminated)*/
+ uint8_t arp_dev[IFNAMSIZ + 1]; /* Device name (zero terminated) */
};
/****************************************************************************