diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-21 12:35:34 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:10 +0200 |
commit | 78c1465ed309d2e8937dc00a19635f40c8a4b05a (patch) | |
tree | 665d13726596ecc3433168f65822bc8f08738f50 /client/x11 | |
parent | 2db7212175c51f4121790bfd1fd677c0b77833d5 (diff) | |
download | spice-78c1465ed309d2e8937dc00a19635f40c8a4b05a.tar.gz spice-78c1465ed309d2e8937dc00a19635f40c8a4b05a.tar.xz spice-78c1465ed309d2e8937dc00a19635f40c8a4b05a.zip |
add #include <config.h> to all source files
When using config.h, it must be the very first include in all source
files since it contains #define that may change the compilation process
(eg libc structure layout changes when it's used to enable large file
support on 32 bit x86 archs). This commit adds it at the beginning
of all .c and .cpp files
Diffstat (limited to 'client/x11')
-rw-r--r-- | client/x11/event_sources_p.cpp | 3 | ||||
-rw-r--r-- | client/x11/main.cpp | 3 | ||||
-rw-r--r-- | client/x11/named_pipe.cpp | 3 | ||||
-rw-r--r-- | client/x11/pixels_source.cpp | 3 | ||||
-rw-r--r-- | client/x11/platform.cpp | 3 | ||||
-rw-r--r-- | client/x11/platform_utils.cpp | 3 | ||||
-rw-r--r-- | client/x11/playback.cpp | 3 | ||||
-rw-r--r-- | client/x11/record.cpp | 3 | ||||
-rw-r--r-- | client/x11/red_drawable.cpp | 3 | ||||
-rw-r--r-- | client/x11/red_pixmap.cpp | 3 | ||||
-rw-r--r-- | client/x11/red_pixmap_gl.cpp | 3 | ||||
-rw-r--r-- | client/x11/red_pixmap_sw.cpp | 3 | ||||
-rw-r--r-- | client/x11/red_window.cpp | 3 | ||||
-rw-r--r-- | client/x11/res.cpp | 3 | ||||
-rw-r--r-- | client/x11/x_icon.cpp | 3 |
15 files changed, 45 insertions, 0 deletions
diff --git a/client/x11/event_sources_p.cpp b/client/x11/event_sources_p.cpp index 9a692557..1958a04d 100644 --- a/client/x11/event_sources_p.cpp +++ b/client/x11/event_sources_p.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <sys/select.h> #include <sys/fcntl.h> diff --git a/client/x11/main.cpp b/client/x11/main.cpp index dfcc101b..ccc95328 100644 --- a/client/x11/main.cpp +++ b/client/x11/main.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "application.h" diff --git a/client/x11/named_pipe.cpp b/client/x11/named_pipe.cpp index c6f38daa..0653bfcc 100644 --- a/client/x11/named_pipe.cpp +++ b/client/x11/named_pipe.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <sys/types.h> #include <sys/socket.h> diff --git a/client/x11/pixels_source.cpp b/client/x11/pixels_source.cpp index a2d49f39..8d8b3443 100644 --- a/client/x11/pixels_source.cpp +++ b/client/x11/pixels_source.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "x_platform.h" diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp index dbd2b6ab..37df809c 100644 --- a/client/x11/platform.cpp +++ b/client/x11/platform.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" diff --git a/client/x11/platform_utils.cpp b/client/x11/platform_utils.cpp index 5ca68f44..6ae30a46 100644 --- a/client/x11/platform_utils.cpp +++ b/client/x11/platform_utils.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdarg.h> #include "utils.h" diff --git a/client/x11/playback.cpp b/client/x11/playback.cpp index be89a984..e69294c8 100644 --- a/client/x11/playback.cpp +++ b/client/x11/playback.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "playback.h" #include "utils.h" diff --git a/client/x11/record.cpp b/client/x11/record.cpp index 4ef92285..d799e5ae 100644 --- a/client/x11/record.cpp +++ b/client/x11/record.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "record.h" #include "utils.h" diff --git a/client/x11/red_drawable.cpp b/client/x11/red_drawable.cpp index 19dcd92a..3712dfd7 100644 --- a/client/x11/red_drawable.cpp +++ b/client/x11/red_drawable.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "red_drawable.h" diff --git a/client/x11/red_pixmap.cpp b/client/x11/red_pixmap.cpp index 2a0eb99b..79190a06 100644 --- a/client/x11/red_pixmap.cpp +++ b/client/x11/red_pixmap.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "red_pixmap.h" diff --git a/client/x11/red_pixmap_gl.cpp b/client/x11/red_pixmap_gl.cpp index 0e7b8c13..011ead97 100644 --- a/client/x11/red_pixmap_gl.cpp +++ b/client/x11/red_pixmap_gl.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <GL/gl.h> #include <GL/glu.h> diff --git a/client/x11/red_pixmap_sw.cpp b/client/x11/red_pixmap_sw.cpp index 2b514b7f..a0dea4d0 100644 --- a/client/x11/red_pixmap_sw.cpp +++ b/client/x11/red_pixmap_sw.cpp @@ -15,6 +15,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "red_pixmap_sw.h" diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp index d53a92f2..8af22261 100644 --- a/client/x11/red_window.cpp +++ b/client/x11/red_window.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include <X11/Xlib.h> diff --git a/client/x11/res.cpp b/client/x11/res.cpp index b2d3f71a..f73e5404 100644 --- a/client/x11/res.cpp +++ b/client/x11/res.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "resource.h" diff --git a/client/x11/x_icon.cpp b/client/x11/x_icon.cpp index 937eecc2..8931d05f 100644 --- a/client/x11/x_icon.cpp +++ b/client/x11/x_icon.cpp @@ -14,6 +14,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "x_icon.h" #include "platform.h" |