Skip to content

Commit

Permalink
Merge pull request iovisor#882 from mvbpolito/master
Browse files Browse the repository at this point in the history
add missing inclusion guards in bcc/proto.h
  • Loading branch information
drzaeus77 committed Jan 5, 2017
2 parents 53da672 + 437ab7f commit 9a174ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cc/export/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down Expand Up @@ -142,4 +145,6 @@ struct vxlan_gbp_t {
unsigned int key:24;
unsigned int rsv6:8;
} BPF_PACKET_HEADER;

#endif
)********"

0 comments on commit 9a174ab

Please sign in to comment.