mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
scsi/sg.h: include stddef.h for size_t
This header uses size_t but doesn't include stddef.h for it. So when packages happen to include this before any header that defines size_t, they get a build failure. Reviewed-by: Carlos O'Donell <codonell@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
8b954ab9b8
commit
357679d2fc
@ -1,3 +1,7 @@
|
||||
2013-01-15 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
|
||||
|
||||
2013-01-14 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
|
||||
|
@ -26,6 +26,8 @@
|
||||
#define _SCSI_SG_H 1
|
||||
|
||||
#include <features.h>
|
||||
#define __need_size_t
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
/* New interface introduced in the 3.x SG drivers follows */
|
||||
|
Loading…
Reference in New Issue
Block a user