From 357679d2fc567e8d6c030cf0f0fd54f6c31e23a3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 12 Jan 2013 18:52:41 -0500 Subject: 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 Signed-off-by: Mike Frysinger --- sysdeps/unix/sysv/linux/scsi/sg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/unix/sysv') diff --git a/sysdeps/unix/sysv/linux/scsi/sg.h b/sysdeps/unix/sysv/linux/scsi/sg.h index 9cad76ebfa..68f57f29fa 100644 --- a/sysdeps/unix/sysv/linux/scsi/sg.h +++ b/sysdeps/unix/sysv/linux/scsi/sg.h @@ -26,6 +26,8 @@ #define _SCSI_SG_H 1 #include +#define __need_size_t +#include /* New interface introduced in the 3.x SG drivers follows */ -- cgit 1.4.1