]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wdctl: fix conflicting types on old systems
authorSami Kerola <kerolasa@iki.fi>
Wed, 25 Jul 2012 19:15:43 +0000 (21:15 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Jul 2012 11:51:42 +0000 (13:51 +0200)
commit7560aebe7ea5153b46e8f63a83014e5fcb3a1e8c
tree532c03d88af70e720241d182d765db90d3e0ed92
parentba816e7d5b172205be75b54c5c6b22decd10443c
wdctl: fix conflicting types on old systems

The program wants the userland version of declaration(s), not the
kernel one.  Problem occured with glibc-devel-2.5-34.

/usr/include/stdint.h:41: error: conflicting types for 'int64_t'
/usr/include/linux/types.h:98: error: previous declaration of 'int64_t' was here
/usr/include/stdint.h:56: error: conflicting types for 'uint64_t'
/usr/include/linux/types.h:96: error: previous declaration of 'uint64_t' was here
In file included from /usr/include/stdlib.h:438,
                 from ./include/c.h:13,
                 from sys-utils/wdctl.c:30:

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/wdctl.c