aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bolin <bolinfest@gmail.com>2018-09-21 14:46:29 -0700
committerMichael Bolin <bolinfest@gmail.com>2018-09-21 14:46:29 -0700
commit0354d767bbd3e30c6a9d4599d0fd07fee8f1337e (patch)
tree21cc3739e6078dca387e3a5e37f35f9b1176b7b1
parent89aefcc9a89216da3558b891e0d6cb235b0e07a0 (diff)
downloadbcc-0354d767bbd3e30c6a9d4599d0fd07fee8f1337e.zip
bcc-0354d767bbd3e30c6a9d4599d0fd07fee8f1337e.tar.gz
bcc-0354d767bbd3e30c6a9d4599d0fd07fee8f1337e.tar.bz2
Add #include to libbpf.h for base types.
-rw-r--r--src/cc/libbpf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cc/libbpf.h b/src/cc/libbpf.h
index 72bc4a6..2728b29 100644
--- a/src/cc/libbpf.h
+++ b/src/cc/libbpf.h
@@ -19,6 +19,8 @@
#define LIBBPF_H
#include "compat/linux/bpf.h"
+#include <stdint.h>
+#include <sys/types.h>
#ifdef __cplusplus
extern "C" {