aboutsummaryrefslogtreecommitdiff
path: root/libopna/opnafm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopna/opnafm.h')
-rw-r--r--libopna/opnafm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libopna/opnafm.h b/libopna/opnafm.h
index 1549041..51bf214 100644
--- a/libopna/opnafm.h
+++ b/libopna/opnafm.h
@@ -3,7 +3,9 @@
#include <stdint.h>
#include <stdbool.h>
+#ifdef LIBOPNA_ENABLE_LEVELDATA
#include "leveldata/leveldata.h"
+#endif
#ifdef __cplusplus
extern "C" {
@@ -69,8 +71,9 @@ struct opna_fm_channel {
uint8_t fb;
uint16_t fnum;
uint8_t blk;
-
+#ifdef LIBOPNA_ENABLE_LEVELDATA
struct leveldata leveldata;
+#endif
};
struct opna_fm {