Skip to content

Commit 85ce5f4

Browse files
committed
Add required math headers
1 parent a894ba0 commit 85ce5f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

wxdemo/realtimemultithread/randomwalk.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
** and condition of the ChartDirector license.
1111
*/
1212

13-
#include "randomwalk.h"
14-
1513
#include <wx/stopwatch.h>
1614

15+
#include "randomwalk.h"
16+
#include <math.h>
17+
1718
// The period of the data series in milliseconds. This random series implementation just use the
1819
// windows timer for timing. In many computers, the default windows timer resolution is 1/64 sec,
1920
// or 15.6ms. This means the interval may not be exactly accurate.

wxdemo/realtimesweep/randomwave.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <wx/stopwatch.h>
1414

1515
#include "randomwave.h"
16+
#include <math.h>
1617

1718
// The period of the data series in milliseconds. This random series implementation just use the
1819
// windows timer for timing. In many computers, the default windows timer resolution is 1/64 sec,

0 commit comments

Comments
 (0)