[PATCH] tweak tdb to build within udev better.
This commit is contained in:
parent
3e2677a31e
commit
aa04c7f0cf
|
@ -17,11 +17,17 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
/* udev defines */
|
||||||
|
#define STANDALONE
|
||||||
|
#define TDB_DEBUG
|
||||||
|
#define HAVE_MMAP 1
|
||||||
|
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if STANDALONE
|
#ifdef STANDALONE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -41,6 +41,12 @@
|
||||||
* right time. Probably too hard -- the process just doesn't know.
|
* right time. Probably too hard -- the process just doesn't know.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* udev defines */
|
||||||
|
#define STANDALONE
|
||||||
|
#define TDB_DEBUG
|
||||||
|
#define HAVE_MMAP 1
|
||||||
|
|
||||||
|
|
||||||
#ifdef STANDALONE
|
#ifdef STANDALONE
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
Loading…
Reference in New Issue