summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2014-11-21 03:13:14 +0200
committerspeidy <speidy@gmail.com>2014-11-21 03:13:14 +0200
commitc1595059801e20cd3fa4b7a812f288e4083ab56a (patch)
treee8d2e17f1878746b0f74cbecb0d89ecd0c650994 /sesman
parent942cdf300edaed7fee13a78e5e1c9b9c3d9c923e (diff)
downloadxrdp-proprietary-c1595059801e20cd3fa4b7a812f288e4083ab56a.tar.gz
xrdp-proprietary-c1595059801e20cd3fa4b7a812f288e4083ab56a.zip
chansrv: fix for segfault issue in chansrv_common
Diffstat (limited to 'sesman')
-rw-r--r--sesman/chansrv/chansrv_common.h1
-rw-r--r--sesman/chansrv/sound.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sesman/chansrv/chansrv_common.h b/sesman/chansrv/chansrv_common.h
index 833e3359..d15c8da7 100644
--- a/sesman/chansrv/chansrv_common.h
+++ b/sesman/chansrv/chansrv_common.h
@@ -20,6 +20,7 @@
#define _CHANSRV_COMMON_H
#include "parse.h"
+#include "os_calls.h"
int read_entire_packet(struct stream *src, struct stream **dest, int chan_flags, int length, int total_length);
diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c
index 9943a15b..6281969b 100644
--- a/sesman/chansrv/sound.c
+++ b/sesman/chansrv/sound.c
@@ -28,6 +28,7 @@
#include "defines.h"
#include "fifo.h"
#include "file_loc.h"
+#include "chansrv_common.h"
extern int g_rdpsnd_chan_id; /* in chansrv.c */
extern int g_display_num; /* in chansrv.c */