projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: FreeBSD has no ENODATA, alias it to ENOATTR
[lttng-tools.git]
/
tests
/
regression
/
tools
/
live
/
live_test.c
diff --git
a/tests/regression/tools/live/live_test.c
b/tests/regression/tools/live/live_test.c
index d5da03e4d7d4417ed7bdfee5e996430cc4204d85..4c56deece91321b8d07db210665481acbb46269b 100644
(file)
--- a/
tests/regression/tools/live/live_test.c
+++ b/
tests/regression/tools/live/live_test.c
@@
-6,7
+6,6
@@
*/
#include <assert.h>
*/
#include <assert.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-31,6
+30,7
@@
#include <bin/lttng-relayd/lttng-viewer-abi.h>
#include <common/index/ctf-index.h>
#include <bin/lttng-relayd/lttng-viewer-abi.h>
#include <common/index/ctf-index.h>
+#include <common/compat/errno.h>
#include <common/compat/endian.h>
#define SESSION1 "test1"
#include <common/compat/endian.h>
#define SESSION1 "test1"
@@
-97,7
+97,7
@@
ssize_t lttng_live_send(int fd, const void *buf, size_t len)
}
static
}
static
-int connect_viewer(char *hostname)
+int connect_viewer(c
onst c
har *hostname)
{
struct hostent *host;
struct sockaddr_in server_addr;
{
struct hostent *host;
struct sockaddr_in server_addr;
This page took
0.023677 seconds
and
4
git commands to generate.