Skip to content

Commit

Permalink
Merge pull request #2 from bernardoaraujor/master
Browse files Browse the repository at this point in the history
missing include and linkopts
  • Loading branch information
Citrullin committed Jul 30, 2019
2 parents db3eaee + 85f7e86 commit 22be5ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/BUILD
Expand Up @@ -16,7 +16,7 @@ cc_binary(
name = "send_hello",
srcs = ["e02_send_hello.c"],
copts = ["-DLOGGER_ENABLE"],
linkopts = ["-pthread"],
linkopts = ["-pthread", "-lm"],
deps = [
"//iota_client_service:config",
"//iota_client_service:service",
Expand Down Expand Up @@ -68,7 +68,7 @@ cc_binary(
name = "send_tokens",
srcs = ["e06_send_tokens.c"],
copts = ["-DLOGGER_ENABLE"],
linkopts = ["-pthread"],
linkopts = ["-pthread", "-lm"],
deps = [
"//iota_client_service:config",
"//iota_client_service:service",
Expand Down
4 changes: 3 additions & 1 deletion examples/e04_generate_address.c
Expand Up @@ -7,6 +7,8 @@
#include "iota_client_service/config.h"
#include "iota_client_service/client_service.h"

#include "iota_client_service/config.h"

static tryte_t const *const SEED =
(tryte_t *)"G9JEMIRJKUXDKUPPAIMEQSGVADYLSJRSBTEIRDWSCTLCVQOJWBM9XESTWTSONOTDDQUXMYCNVAKZWPPYW";

Expand Down Expand Up @@ -58,4 +60,4 @@ int main(void){
}else{
printf("Addresses generated with error code: %i\n", ret);
}
}
}

0 comments on commit 22be5ec

Please sign in to comment.