1
/*********************************************************
2
* Copyright (C) 2009 VMware, Inc. All rights reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation version 2 and no later version.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13
* You should have received a copy of the GNU General Public License along
14
* with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17
*********************************************************/
19
#ifndef __COMPAT_AUTOCONF_H__
20
# define __COMPAT_AUTOCONF_H__
22
#define INCLUDE_ALLOW_VMMON
23
#define INCLUDE_ALLOW_MODULE
24
#define INCLUDE_ALLOW_VMCORE
25
#define INCLUDE_ALLOW_DISTRIBUTE
26
#include "includeCheck.h"
29
#ifndef LINUX_VERSION_CODE
30
# error "Include compat_version.h before compat_autoconf.h"
33
/* autoconf.h moved from linux/autoconf.h to generated/autoconf.h in 2.6.33-rc1. */
34
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
35
# include <linux/autoconf.h>
37
# include <generated/autoconf.h>
40
#endif /* __COMPAT_AUTOCONF_H__ */