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
758 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
--- 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