Fix numerous compiler warnings and errors

Depending on OS and compiler, certain types may not be included
transitively by headers that were included previously. This commit
produces a clean build on the latest trunk versions of GCC, Clang,
and QT.
This commit is contained in:
Jeremy Ong
2020-01-16 23:05:58 +00:00
committed by Baldur Karlsson
parent 7076e674ca
commit 29403836c6
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@
#pragma once
#include <stdio.h>
#include "api/replay/data_types.h"
struct dds_data
+1
View File
@@ -26,6 +26,7 @@
#pragma once
#include <stdint.h>
#include <stdio.h>
#include <map>
#include "api/app/renderdoc_app.h"
#include "api/replay/apidefs.h"
+1
View File
@@ -34,6 +34,7 @@
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <functional>
#include "api/replay/rdcarray.h"
#include "api/replay/rdcpair.h"
@@ -22,6 +22,7 @@
* THE SOFTWARE.
******************************************************************************/
#include <ctype.h>
#include <dlfcn.h>
#include <errno.h>
#include <iconv.h>
+1
View File
@@ -22,6 +22,7 @@
* THE SOFTWARE.
******************************************************************************/
#include <wchar.h>
#include "common/common.h"
#include "os/os_specific.h"