aboutsummaryrefslogtreecommitdiff
path: root/src/sfx/inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfx/inc')
-rw-r--r--src/sfx/inc/sfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sfx/inc/sfx.h b/src/sfx/inc/sfx.h
index b8fe44f..ea290d3 100644
--- a/src/sfx/inc/sfx.h
+++ b/src/sfx/inc/sfx.h
@@ -2,6 +2,7 @@
#define SFX_H
#include <sfx/port.h>
+#include <stddef.h>
#include <stdio.h>
#ifdef __cplusplus
@@ -10,7 +11,7 @@ extern "C"
#endif
int sfx_init(void);
-int sfx_sound_from_fp(struct sound *s, FILE *f);
+int sfx_sound_from_fp(struct sound *s, FILE *f, size_t sz);
int sfx_play(const struct sound *s);
void sfx_free(struct sound *s);
void sfx_deinit(void);