add missing inclusion guards in bcc/proto.h
authorMauricio Vasquez B <mauricio.vasquez@polito.it>
Mon, 2 Jan 2017 20:49:27 +0000 (15:49 -0500)
committerMauricio Vasquez B <mauricio.vasquez@polito.it>
Mon, 2 Jan 2017 20:49:27 +0000 (15:49 -0500)
Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it>
src/cc/export/proto.h

index ed47775..5acaf31 100644 (file)
@@ -15,6 +15,9 @@ R"********(
  * limitations under the License.
  */
 
+#ifndef __BCC_PROTO_H
+#define __BCC_PROTO_H
+
 #include <uapi/linux/if_ether.h>
 
 #define BPF_PACKET_HEADER __attribute__((packed)) __attribute__((deprecated("packet")))
@@ -142,4 +145,6 @@ struct vxlan_gbp_t {
   unsigned int key:24;
   unsigned int rsv6:8;
 } BPF_PACKET_HEADER;
+
+#endif
 )********"