summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-03-14 19:09:29 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-16 17:02:44 +0100
commit1d684ec0e0c3663a140e362f5c7397134c4030f7 (patch)
treef25dbfec77d3032bb4d42f99262ded3ebeb99693 /tests
parent17b964dc915b26c99ac0df42fe9f05025a34be16 (diff)
btrfs-progs: tests: fssum, update includes
Remove unneeded and add headers that define time_te and int types. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fssum.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/fssum.c b/tests/fssum.c
index f5f83f9d..a69f80f2 100644
--- a/tests/fssum.c
+++ b/tests/fssum.c
@@ -24,12 +24,11 @@
#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <openssl/md5.h>
-#include <netinet/in.h>
-#include <inttypes.h>
#include <assert.h>
+#include <time.h>
+#include <stdint.h>
#define CS_SIZE 16
#define CHUNKS 128