summaryrefslogtreecommitdiffstats
path: root/src/kernel/tests/include/lapi/iovec.h
blob: d479e9f850d80d54188725a66cb169a1ce00cfb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (c) 2014 Cyril Hrubis <chrubis@suse.cz>
 */

#ifndef IOVEC_H
#define IOVEC_H

#include "config.h"

#if !defined(HAVE_STRUCT_IOVEC)
struct iovec {
	void *iov_base;
	size_t iov_len;
};
#else
# include <sys/uio.h>
#endif

#endif /* IOVEC_H */