From 064e8a7c6803c9607e9336ea8756e65a0bb24289 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Thu, 2 Oct 2014 19:55:01 +0200
Subject: [PATCH] input/file: make the "fd" attribute "const"

---
 src/input/plugins/FileInputPlugin.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx
index 525786b5d..a4c809915 100644
--- a/src/input/plugins/FileInputPlugin.cxx
+++ b/src/input/plugins/FileInputPlugin.cxx
@@ -34,7 +34,7 @@
 static constexpr Domain file_domain("file");
 
 class FileInputStream final : public InputStream {
-	int fd;
+	const int fd;
 
 public:
 	FileInputStream(const char *path, int _fd, off_t _size,