aboutsummaryrefslogtreecommitdiff
path: root/hw/net/e1000x_common.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-06-04 20:16:18 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-06-12 13:20:21 +0200
commitf91005e195e7e1485e60cb121731589960f1a3c9 (patch)
treee734135671b02f0c6bbf5785006401843e925a06 /hw/net/e1000x_common.h
parent37677d7db39a3c250ad661d00fb7c3b59d047b1f (diff)
Supply missing header guards
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190604181618.19980-5-armbru@redhat.com>
Diffstat (limited to 'hw/net/e1000x_common.h')
-rw-r--r--hw/net/e1000x_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/net/e1000x_common.h b/hw/net/e1000x_common.h
index 0268884e72..19c56f409f 100644
--- a/hw/net/e1000x_common.h
+++ b/hw/net/e1000x_common.h
@@ -22,6 +22,9 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef HW_NET_E1000X_COMMON_H
+#define HW_NET_E1000X_COMMON_H
+
#include "e1000_regs.h"
#define defreg(x) x = (E1000_##x >> 2)
@@ -209,3 +212,5 @@ typedef struct e1000x_txd_props {
void e1000x_read_tx_ctx_descr(struct e1000_context_desc *d,
e1000x_txd_props *props);
+
+#endif