diff options
Diffstat (limited to 'sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch')
-rw-r--r-- | sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch b/sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch new file mode 100644 index 000000000000..a82ab6add9a4 --- /dev/null +++ b/sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch @@ -0,0 +1,31 @@ +From: Ed Catmur <ed@catmur.co.uk> +Gentoo-Bug: 229653 +X-Gentoo-URL: http://bugs.gentoo.org/show_bug.cgi?id=229653 +X-Gentoo-URL: http://bugs.gentoo.org/attachment.cgi?id=158565&action=view +Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> + +For uint64_t to be available, <stdint.h> must be included: +http://www.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html + +--- include/sg_cmds_basic.h 2008/06/26 23:27:40 1.1 ++++ include/sg_cmds_basic.h 2008/06/26 23:28:06 +@@ -30,6 +30,8 @@ + * + */ + ++#include <stdint.h> ++ + #ifdef __cplusplus + extern "C" { + #endif +--- include/sg_cmds_extra.h 2008/06/26 23:27:40 1.1 ++++ include/sg_cmds_extra.h 2008/06/26 23:29:02 +@@ -30,6 +30,8 @@ + * + */ + ++#include <stdint.h> ++ + #ifdef __cplusplus + extern "C" { + #endif |