Skip to content

Commit

Permalink
wol: -Werror=implicit-function-declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Jul 7, 2017
1 parent a788b8a commit 449123a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/wol/src-magic.c.patch
@@ -0,0 +1,14 @@
diff -u -r ../wol-0.7.1/src/magic.c ./src/magic.c
--- ../wol-0.7.1/src/magic.c 2003-08-12 16:45:22.000000000 +0000
+++ ./src/magic.c 2017-07-07 06:18:14.306649401 +0000
@@ -114,7 +114,9 @@
XFREE ((void *) m);
}

-
+#ifdef __ANDROID__
+extern int ether_hostton(const char *, struct ether_addr *);
+#endif

int
magic_assemble (struct magic *magic_buf, const char *mac_str,

0 comments on commit 449123a

Please sign in to comment.