diff options
author | Andreas Weigel <andreaswe@securepoint.de> | 2017-02-23 11:55:49 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-05-14 20:38:57 +0200 |
commit | 8fefdcde2750340c8c4062548e51acc34ae61496 (patch) | |
tree | 5d3cdef27016a701d35fdc3d18545d0cd4ed41fe /test/wstest.c | |
parent | a90a43cda546f6f4304623ebd5e6dd9cdb87fc16 (diff) | |
download | libtdevnc-8fefdcde2750340c8c4062548e51acc34ae61496.tar.gz libtdevnc-8fefdcde2750340c8c4062548e51acc34ae61496.zip |
fix problems in test and requests for cmake build
add missing stdarg header
fix hardcoded errno integer values in tests
add dependency to wstestdata and rename to prevent building it as c
source
Diffstat (limited to 'test/wstest.c')
-rw-r--r-- | test/wstest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/wstest.c b/test/wstest.c index 4a5ba91..69cd174 100644 --- a/test/wstest.c +++ b/test/wstest.c @@ -29,6 +29,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <stdarg.h> #include <unistd.h> #include <errno.h> @@ -70,7 +71,7 @@ struct ws_frame_test { int close_sock_at; }; -#include "wstestdata.c" +#include "wstestdata.inc" char el_log[1000000]; char *el_pos; |