diff options
author | Karel Zak | 2006-12-07 00:26:54 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:26:54 +0100 |
commit | 48d7b13a1eab85fab91c8d6c5ddf298f733c74f5 (patch) | |
tree | 8813d36590ee3361bd75f57a12fd2032e9296ddb /misc-utils/mcookie.c | |
parent | Imported from util-linux-2.12r tarball. (diff) | |
download | kernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.tar.gz kernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.tar.xz kernel-qcow2-util-linux-48d7b13a1eab85fab91c8d6c5ddf298f733c74f5.zip |
Imported from util-linux-2.13-pre1 tarball.
Diffstat (limited to 'misc-utils/mcookie.c')
-rw-r--r-- | misc-utils/mcookie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c index e550bec6a..dee26c560 100644 --- a/misc-utils/mcookie.c +++ b/misc-utils/mcookie.c @@ -28,7 +28,7 @@ #include <stdlib.h> #include <fcntl.h> #include "md5.h" -#if HAVE_GETTIMEOFDAY +#ifdef HAVE_GETTIMEOFDAY #include <sys/time.h> #include <unistd.h> #endif @@ -79,7 +79,7 @@ int main( int argc, char **argv ) pid_t pid; char *file = NULL; int r; -#if HAVE_GETTIMEOFDAY +#ifdef HAVE_GETTIMEOFDAY struct timeval tv; struct timezone tz; #else @@ -98,7 +98,7 @@ int main( int argc, char **argv ) MD5Init( &ctx ); -#if HAVE_GETTIMEOFDAY +#ifdef HAVE_GETTIMEOFDAY gettimeofday( &tv, &tz ); MD5Update( &ctx, (unsigned char *)&tv, sizeof( tv ) ); #else |