#include "string.h"
#include "list.h"
#include "sched.h"
+#include "ggo.h"
#include "write.h"
#include "osx_write.cmdline.h"
#include "error.h"
{
struct private_osx_write_data *powd = wn->private_data;
struct writer_node_group *wng = wn->wng;
- short *data = (short*)wng->buf;
+ short *data = (short*)*wng->bufp;
if (!need_new_buffer(wn))
return 1;