diff --git a/src/input/Offset.hxx b/src/input/Offset.hxx
index 130fdef0c..45bc1abc6 100644
--- a/src/input/Offset.hxx
+++ b/src/input/Offset.hxx
@@ -1,8 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 // Copyright The Music Player Daemon Project
 
-#ifndef MPD_OFFSET_HXX
-#define MPD_OFFSET_HXX
+#pragma once
 
 #include <cstdint>
 
@@ -10,11 +9,3 @@
  * A type for absolute offsets in a file.
  */
 typedef uint64_t offset_type;
-
-/**
- * To format an offset_type with printf().  To use this, include
- * <cinttypes>.
- */
-#define PRIoffset PRIu64
-
-#endif