summaryrefslogtreecommitdiff
path: root/src/journal/test-mmap-cache.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 18:05:03 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:55 +0100
commit0d39fa9c69b97a2ceb156053deef69c0866c2b97 (patch)
treeffab9cf2924c42030cc235cdb1701cfe954958e7 /src/journal/test-mmap-cache.c
parent5f311f8c0e51e2f13773823feb6a71f7c6f2838c (diff)
util-lib: move more file I/O related calls into fileio.[ch]
Diffstat (limited to 'src/journal/test-mmap-cache.c')
-rw-r--r--src/journal/test-mmap-cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/test-mmap-cache.c b/src/journal/test-mmap-cache.c
index ac1239acc4..fdd48e531c 100644
--- a/src/journal/test-mmap-cache.c
+++ b/src/journal/test-mmap-cache.c
@@ -19,12 +19,13 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <fcntl.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>
-#include <fcntl.h>
#include "fd-util.h"
+#include "fileio.h"
#include "macro.h"
#include "mmap-cache.h"
#include "util.h"