aboutsummaryrefslogtreecommitdiff
path: root/hw/net/vmxnet3_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/vmxnet3_defs.h')
-rw-r--r--hw/net/vmxnet3_defs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/net/vmxnet3_defs.h b/hw/net/vmxnet3_defs.h
index 6c19d29b12..65780c576d 100644
--- a/hw/net/vmxnet3_defs.h
+++ b/hw/net/vmxnet3_defs.h
@@ -12,9 +12,11 @@
*
* This work is licensed under the terms of the GNU GPL, version 2.
* See the COPYING file in the top-level directory.
- *
*/
+#ifndef HW_NET_VMXNET3_DEFS_H
+#define HW_NET_VMXNET3_DEFS_H
+
#include "net/net.h"
#include "hw/net/vmxnet3.h"
@@ -131,3 +133,5 @@ typedef struct {
/* Compatibility flags for migration */
uint32_t compat_flags;
} VMXNET3State;
+
+#endif