summaryrefslogtreecommitdiff
path: root/helpers.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-11-24 13:01:41 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-11-24 13:01:41 +0100
commitc5c8bd5c9b265df2c7feb386b5c1fba0a5a34eec (patch)
tree40567fe849dc8228d711e7c894c0528feacc77ca /helpers.c
parentf166280e4cb2b3939a66359117798e46caf49591 (diff)
downloadfio-c5c8bd5c9b265df2c7feb386b5c1fba0a5a34eec.tar.gz
fio-c5c8bd5c9b265df2c7feb386b5c1fba0a5a34eec.tar.bz2
Add helpers include file
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'helpers.c')
-rw-r--r--helpers.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/helpers.c b/helpers.c
index 21b99136..f314ebb9 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 @@ int __weak posix_fallocate(int fd, off_t offset, off_t len)
{
return 0;
}
+
+int __weak inet_aton(const char *cp, struct in_addr *inp)
+{
+ return 0;
+}