aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-09-24 23:03:28 +0200
committerMax Kellermann <max@duempel.org>2014-09-24 23:03:28 +0200
commit87268c2297f68580d0227126c50be5547460922e (patch)
tree9a18645b59637a87797887949927841f6bc4c28b /test
parente93975cb466db335f4c9739669fb22ad4ecf0b08 (diff)
downloadmpd-87268c2297f68580d0227126c50be5547460922e.tar.gz
mpd-87268c2297f68580d0227126c50be5547460922e.tar.xz
mpd-87268c2297f68580d0227126c50be5547460922e.zip
test/test_protocol: add missing stdlib.h include
EXIT_SUCCESS and EXIT_FAILURE are defined in stdlib.h, not unistd.h. D'oh!
Diffstat (limited to 'test')
-rw-r--r--test/test_protocol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_protocol.cxx b/test/test_protocol.cxx
index e80e4fe6d..fb35cbc66 100644
--- a/test/test_protocol.cxx
+++ b/test/test_protocol.cxx
@@ -8,7 +8,7 @@
#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/extensions/HelperMacros.h>
-#include <unistd.h>
+#include <stdlib.h>
static enum ack last_error = ack(-1);