Skip to contentSkip to conversation

main-loop: Add missing include file

PATCH Superseded Stefan Weil 3 participants 4 messages Oct 24, 2011 – Oct 25, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 main-loop: Add missing include file

stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts).

---
 main-loop.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
main-loop.c +1 -0
index bfecdb7..d9585f8 100644
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 #include "config-host.h"
+#include <stdint.h>     /* uint8_t, ... */
 #include <unistd.h>
 #include <signal.h>
 #include <time.h>
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 13 lines · Stefan Weil

stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts).

---
  main-loop.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
main-loop.c +0 -0
index bfecdb7..d9585f8 100644

main-loop.c line 25

Quoted 4 lines
main-loop.c +1 -0
@@ -22,6 +22,7 @@
   * THE SOFTWARE.
   */
  #include "config-host.h"
+#include<stdint.h>      /* uint8_t, ... */

Any reason not to use qemu-common?

Regards,

Anthony Liguori

Quoted 3 lines
main-loop.c +0 -0
  #include<unistd.h>
  #include<signal.h>
  #include<time.h>
#2 lore raw

Am 24.10.2011 21:43, schrieb Anthony Liguori:

Quoted 9 lines · Stefan Weil
Quoted 8 lines

stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts).

---
  main-loop.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 11 lines

main-loop.c line 25

Quoted 9 lines
main-loop.c +1 -0
index bfecdb7..d9585f8 100644
@@ -22,6 +22,7 @@
   * THE SOFTWARE.
   */
  #include "config-host.h"
+#include<stdint.h>      /* uint8_t, ... */

Any reason not to use qemu-common?

I don't know any reason and forward your question to Paolo.

Kind regards,
Stefan W.

#3 lore raw
Quoted 22 lines · Stefan Weil

Am 24.10.2011 21:43, schrieb Anthony Liguori:

Quoted 9 lines · Stefan Weil
Quoted 8 lines

stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts).

---
main-loop.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 11 lines

main-loop.c line 25

Quoted 9 lines
main-loop.c +1 -0
index bfecdb7..d9585f8 100644
@@ -22,6 +22,7 @@
 * THE SOFTWARE.
 */
 #include "config-host.h"
+#include<stdint.h> /* uint8_t, ... */

Any reason not to use qemu-common?

Quoted 1 line

I don't know any reason and forward your question to Paolo.

Either is fine.

Paolo