aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Brownlee <abs@absd.org>2011-08-31 15:15:01 +0100
committerDavid Brownlee <abs@absd.org>2011-08-31 15:15:01 +0100
commit9c91c78633391207f54a9b55ce96ce7fae507a95 (patch)
treefc9e0e036a2f4a54e45734a0ee43f0067014adfc
parentb78188fbbfe434940e5ed8b33a3aa00e0e23bc7d (diff)
This file uses WEXITSTATUS(), so should include <sys/wait.h> - at
least on BSD
-rw-r--r--xbmc/windowing/X11/XRandR.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/windowing/X11/XRandR.cpp b/xbmc/windowing/X11/XRandR.cpp
index 634b66521f..45aa708932 100644
--- a/xbmc/windowing/X11/XRandR.cpp
+++ b/xbmc/windowing/X11/XRandR.cpp
@@ -24,6 +24,7 @@
#ifdef HAS_XRANDR
#include <string.h>
+#include <sys/wait.h>
#include "system.h"
#include "PlatformInclude.h"
#include "tinyXML/tinyxml.h"