1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
systemd-stable/extras/volume_id/volume_id_logging.h
kay.sievers@vrfy.org 9e8a3a095d [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.
2005-04-26 21:37:01 -07:00

22 lines
384 B
C

/*
* 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_ */