freebsd-ports/audio/ncmpcpp/files/patch-src__status.cpp
Thomas Zander be19e9ffcc Fix shuffle playback
(random number generator is not initialised properly)

While on it:
Pet portlint

PR:		201645
Submitted by:	yamagi@yamagi.org (maintainer)
MFH:		2015Q3
2015-08-02 14:03:56 +00:00

11 lines
285 B
C++

--- src/status.cpp.orig 2015-07-05 02:18:34 UTC
+++ src/status.cpp
@@ -21,6 +21,8 @@
#include <boost/date_time/posix_time/posix_time.hpp>
#include <netinet/tcp.h>
#include <netinet/in.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#include "browser.h"
#include "charset.h"