You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/sg3_utils/files/sg3_utils-1.26-stdint.patch

32 lines
678 B

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
--- a/include/sg_cmds_basic.h
+++ b/include/sg_cmds_basic.h
@@ -30,6 +30,8 @@
*
*/
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif
--- a/include/sg_cmds_extra.h
+++ b/include/sg_cmds_extra.h
@@ -30,6 +30,8 @@
*
*/
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif