Skip to content

Commit b6d3f98

Browse files
committed
Windows compatibility vasprintf
1 parent d1c1213 commit b6d3f98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/hardware/IOChannel.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include "IOChannel.h"
22

3+
#ifdef HELLO_IM_A_PC
4+
#include "asprintf.h" // use asprintf from libsmb2
5+
#endif /* HELLO_IM_A_PC */
6+
37
#include <stdarg.h>
48

59
size_t IOChannel::available()

0 commit comments

Comments
 (0)