summaryrefslogtreecommitdiff
path: root/include/device/bpf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/device/bpf.h')
-rw-r--r--include/device/bpf.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/device/bpf.h b/include/device/bpf.h
index 7bb5e106..abc2d777 100644
--- a/include/device/bpf.h
+++ b/include/device/bpf.h
@@ -68,8 +68,6 @@
#ifndef _DEVICE_BPF_H_
#define _DEVICE_BPF_H_
-#include <sys/types.h> /* u_short */
-
/*
* Alignment macros. BPF_WORDALIGN rounds up to the next
* even multiple of BPF_ALIGNMENT.
@@ -89,8 +87,8 @@
* It has nothing to do with the source code version.
*/
struct bpf_version {
- u_short bv_major;
- u_short bv_minor;
+ unsigned short bv_major;
+ unsigned short bv_minor;
};
/* Current version number. */
#define BPF_MAJOR_VERSION 1