ports/audio/musicpd/files/patch-src_lib_nfs_Error.cxx
Thomas Zander f772644005 Update to upstream release 0.22
Details:
- Major release, many new features and improvements, see
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.22/NEWS
2020-10-06 21:51:56 +00:00

20 lines
414 B
C++

--- src/lib/nfs/Error.cxx.orig 2020-09-23 13:26:51 UTC
+++ src/lib/nfs/Error.cxx
@@ -33,13 +33,13 @@
#include "Error.hxx"
#include "util/StringFormat.hxx"
+#include <cassert>
+#include <string.h>
+#include <sys/time.h>
+
extern "C" {
#include <nfsc/libnfs.h>
}
-
-#include <cassert>
-
-#include <string.h>
static StringBuffer<256>
FormatNfsClientError(struct nfs_context *nfs, const char *msg) noexcept