Skip to content

Commit 0e42547

Browse files
committed
Remove some timer.h-related include hacks
1 parent 74368bf commit 0e42547

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/qt/qt_machinestatus.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
#include "qt_machinestatus.hpp"
2020

2121
extern "C" {
22-
#define EMU_CPU_H // superhack - don't want timer.h to include cpu.h here, and some combo is preventing a compile
23-
extern uint64_t tsc;
24-
2522
#include <86box/hdd.h>
2623
#include <86box/timer.h>
2724
#include <86box/86box.h>

src/qt/qt_mainwindow.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ extern "C" {
4848
#include <86box/machine.h>
4949
#include <86box/vid_ega.h>
5050
#include <86box/version.h>
51-
#if 0
52-
#include <86box/acpi.h> /* Requires timer.h include, which conflicts with Qt headers */
53-
#endif
54-
extern atomic_int acpi_pwrbut_pressed;
55-
extern int acpi_enabled;
51+
#include <86box/timer.h>
52+
#include <86box/apm.h>
53+
#include <86box/nvr.h>
54+
#include <86box/acpi.h>
5655

5756
#ifdef USE_VNC
5857
# include <86box/vnc.h>

0 commit comments

Comments
 (0)