1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

[PATCH] The following patch fixes some warnings when compiling volume_id

This commit is contained in:
tklauser@access.unizh.ch 2005-03-11 02:31:58 +01:00 committed by Greg KH
parent e296b1476e
commit 9066c16ada
3 changed files with 6 additions and 2 deletions

View File

@ -28,7 +28,7 @@ INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
override CFLAGS+=-D_FILE_OFFSET_BITS=64
override CFLAGS+=-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
VOLUME_ID_BASE=volume_id
include $(VOLUME_ID_BASE)/Makefile.inc

View File

@ -21,6 +21,10 @@
*
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -16,6 +16,6 @@
#endif
/* just use the udev version */
#include "../../logging.h"
#include "../../../logging.h"
#endif /* _VOLUME_ID_LOGGING_H_ */