commit | c5c8bd5c9b265df2c7feb386b5c1fba0a5a34eec | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Nov 24 13:01:41 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Nov 24 13:01:41 2009 +0100 |
tree | 40567fe849dc8228d711e7c894c0528feacc77ca | |
parent | f166280e4cb2b3939a66359117798e46caf49591 [diff] [blame] |
Add helpers include file Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/helpers.c b/helpers.c index 21b9913..f314ebb 100644 --- a/helpers.c +++ b/helpers.c
@@ -1,6 +1,8 @@ #include <malloc.h> #include <stdlib.h> #include <errno.h> +#include <sys/socket.h> +#include <netinet/in.h> #include "compiler/compiler.h" @@ -17,3 +19,8 @@ { return 0; } + +int __weak inet_aton(const char *cp, struct in_addr *inp) +{ + return 0; +}