diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-09-18 23:22:27 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:37:01 -0700 |
commit | 9e8a3a095d955538acbdf28dba02582f6b2330e5 (patch) | |
tree | 2ef40834b44ef1d030ba73314d5c4ebad00d0848 /extras/volume_id/volume_id_logging.h | |
parent | cdc60e8afb06a0688e4b9f166625d4d0b8805e68 (diff) |
[PATCH] volume-id build fix and update
Let's try it another way:
We define BLKGETSIZE64 in udev-volume_id.c now, cause including <fs.h>
does also not work with klibc. This hopefully fixes your compile problem
too.
Also included is an update to udev_volume_id with the latest fixes for
volume_id. It adds a simple logging file to map the debug function, that
we can use exactly the same files in HAL and udev.
Diffstat (limited to 'extras/volume_id/volume_id_logging.h')
-rw-r--r-- | extras/volume_id/volume_id_logging.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extras/volume_id/volume_id_logging.h b/extras/volume_id/volume_id_logging.h new file mode 100644 index 0000000000..e978ce197c --- /dev/null +++ b/extras/volume_id/volume_id_logging.h @@ -0,0 +1,21 @@ +/* + * volume_id_logging - this file is used to map the dbg() function + * to the host logging facility + * + */ + +#ifndef _VOLUME_ID_LOGGING_H_ +#define _VOLUME_ID_LOGGING_H_ + +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +/* just use the udev version*/ +#include "../../logging.h" + +#endif /* _VOLUME_ID_LOGGING_H_ */ |