aboutsummaryrefslogtreecommitdiff
path: root/datapath/compat.h
blob: 84a222f991b9267ef973fa89f18f7a139dc7ec57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2009 Nicira Networks.
 * Distributed under the terms of the GNU GPL version 2.
 *
 * Significant portions of this file may be copied from parts of the Linux
 * kernel, by Linus Torvalds and others.
 */

#ifndef COMPAT_H
#define COMPAT_H 1

#include <linux/version.h>

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)

#include "compat26.h"

#else

#include "compat24.h"

#endif


#endif /* compat.h */