diff options
Diffstat (limited to 'client')
67 files changed, 202 insertions, 3 deletions
diff --git a/client/application.cpp b/client/application.cpp index 9e2c7e19..1f3ad242 100644 --- a/client/application.cpp +++ b/client/application.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" #ifdef WIN32 diff --git a/client/canvas.cpp b/client/canvas.cpp index 284a8149..3b5f4b69 100644 --- a/client/canvas.cpp +++ b/client/canvas.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 "canvas.h" diff --git a/client/client_net_socket.cpp b/client/client_net_socket.cpp index 6ce44c52..412c1fd5 100644 --- a/client/client_net_socket.cpp +++ b/client/client_net_socket.cpp @@ -18,6 +18,9 @@ Author: yhalperi@redhat.com */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "client_net_socket.h" diff --git a/client/cmd_line_parser.cpp b/client/cmd_line_parser.cpp index ec00c3e3..2f63c049 100644 --- a/client/cmd_line_parser.cpp +++ b/client/cmd_line_parser.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/controller.cpp b/client/controller.cpp index e8d37e65..e7c4b955 100644 --- a/client/controller.cpp +++ b/client/controller.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 "controller.h" diff --git a/client/cursor.cpp b/client/cursor.cpp index 0b7d956f..2ca2cd7f 100644 --- a/client/cursor.cpp +++ b/client/cursor.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 "cursor.h" diff --git a/client/cursor_channel.cpp b/client/cursor_channel.cpp index c973e9da..12e2470b 100644 --- a/client/cursor_channel.cpp +++ b/client/cursor_channel.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 "cursor_channel.h" diff --git a/client/display_channel.cpp b/client/display_channel.cpp index 2950c30d..16a014cf 100644 --- a/client/display_channel.cpp +++ b/client/display_channel.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 "canvas.h" diff --git a/client/foreign_menu.cpp b/client/foreign_menu.cpp index e5d7459d..926e266f 100644 --- a/client/foreign_menu.cpp +++ b/client/foreign_menu.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 "foreign_menu.h" diff --git a/client/glz_decode_tmpl.c b/client/glz_decode_tmpl.c index 2c475719..2e4f1369 100644 --- a/client/glz_decode_tmpl.c +++ b/client/glz_decode_tmpl.c @@ -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 // External defines: PLT, RGBX/PLTXX/ALPHA, TO_RGB32. // If PLT4/1 and TO_RGB32 are defined, we need CAST_PLT_DISTANCE ( diff --git a/client/glz_decoder.cpp b/client/glz_decoder.cpp index c5ccb956..dea1a1be 100644 --- a/client/glz_decoder.cpp +++ b/client/glz_decoder.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 "glz_decoder_config.h" diff --git a/client/glz_decoder_window.cpp b/client/glz_decoder_window.cpp index ab081f84..54fdbdc8 100644 --- a/client/glz_decoder_window.cpp +++ b/client/glz_decoder_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" diff --git a/client/gui/gui.cpp b/client/gui/gui.cpp index eba241f7..abfe1110 100644 --- a/client/gui/gui.cpp +++ b/client/gui/gui.cpp @@ -15,6 +15,10 @@ 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 <limits.h> diff --git a/client/gui/resource_provider.cpp b/client/gui/resource_provider.cpp index 2b5c44f3..b80ce092 100644 --- a/client/gui/resource_provider.cpp +++ b/client/gui/resource_provider.cpp @@ -15,6 +15,10 @@ 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_provider.h" diff --git a/client/gui/softrenderer.cpp b/client/gui/softrenderer.cpp index bdc7a6cd..92a1c838 100644 --- a/client/gui/softrenderer.cpp +++ b/client/gui/softrenderer.cpp @@ -15,10 +15,11 @@ 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/>. */ -#include "common.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif + +#include "common.h" #include "utils.h" #include "debug.h" diff --git a/client/gui/softtexture.cpp b/client/gui/softtexture.cpp index a633f24e..b41dd65b 100644 --- a/client/gui/softtexture.cpp +++ b/client/gui/softtexture.cpp @@ -15,12 +15,11 @@ 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/>. */ -#include "common.h" - #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include "common.h" #include "softtexture.h" #include "softrenderer.h" diff --git a/client/hot_keys.cpp b/client/hot_keys.cpp index 053f4990..65b1bc34 100644 --- a/client/hot_keys.cpp +++ b/client/hot_keys.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 "hot_keys.h" diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp index ae41624f..4d1232a3 100644 --- a/client/inputs_channel.cpp +++ b/client/inputs_channel.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 "inputs_channel.h" diff --git a/client/jpeg_decoder.cpp b/client/jpeg_decoder.cpp index f7aba765..74cb758b 100644 --- a/client/jpeg_decoder.cpp +++ b/client/jpeg_decoder.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 "jpeg_decoder.h" diff --git a/client/menu.cpp b/client/menu.cpp index 17438218..ebbd323a 100644 --- a/client/menu.cpp +++ b/client/menu.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 "menu.h" diff --git a/client/mjpeg_decoder.cpp b/client/mjpeg_decoder.cpp index 49509507..0ac6eaee 100644 --- a/client/mjpeg_decoder.cpp +++ b/client/mjpeg_decoder.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 "debug.h" diff --git a/client/monitor.cpp b/client/monitor.cpp index 0b73956d..3d742967 100644 --- a/client/monitor.cpp +++ b/client/monitor.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 "monitor.h" diff --git a/client/playback_channel.cpp b/client/playback_channel.cpp index 1e902a90..731b5202 100644 --- a/client/playback_channel.cpp +++ b/client/playback_channel.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_client.h" diff --git a/client/process_loop.cpp b/client/process_loop.cpp index 9a0dadcb..9cd530e2 100644 --- a/client/process_loop.cpp +++ b/client/process_loop.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 "process_loop.h" diff --git a/client/record_channel.cpp b/client/record_channel.cpp index 084866cc..738f98fd 100644 --- a/client/record_channel.cpp +++ b/client/record_channel.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_client.h" diff --git a/client/red_channel.cpp b/client/red_channel.cpp index f4cdf529..bcd70514 100644 --- a/client/red_channel.cpp +++ b/client/red_channel.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_channel.h" diff --git a/client/red_client.cpp b/client/red_client.cpp index ea852786..7fd2b5e9 100644 --- a/client/red_client.cpp +++ b/client/red_client.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 <math.h> diff --git a/client/red_gdi_canvas.cpp b/client/red_gdi_canvas.cpp index 2e0b4538..038f784d 100644 --- a/client/red_gdi_canvas.cpp +++ b/client/red_gdi_canvas.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 <stdint.h> diff --git a/client/red_gl_canvas.cpp b/client/red_gl_canvas.cpp index db47aafa..92529ce5 100644 --- a/client/red_gl_canvas.cpp +++ b/client/red_gl_canvas.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 <stdint.h> diff --git a/client/red_peer.cpp b/client/red_peer.cpp index 86a90478..19919a61 100644 --- a/client/red_peer.cpp +++ b/client/red_peer.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 <openssl/x509.h> diff --git a/client/red_sw_canvas.cpp b/client/red_sw_canvas.cpp index fec6605e..782cacab 100644 --- a/client/red_sw_canvas.cpp +++ b/client/red_sw_canvas.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 <stdint.h> diff --git a/client/screen.cpp b/client/screen.cpp index 575ab5df..d8b6dde4 100644 --- a/client/screen.cpp +++ b/client/screen.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 "screen.h" diff --git a/client/screen_layer.cpp b/client/screen_layer.cpp index 8a016b7e..4515be2e 100644 --- a/client/screen_layer.cpp +++ b/client/screen_layer.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 "screen_layer.h" diff --git a/client/smartcard_channel.cpp b/client/smartcard_channel.cpp index 32b6d8d6..e0e9b889 100644 --- a/client/smartcard_channel.cpp +++ b/client/smartcard_channel.cpp @@ -14,6 +14,10 @@ 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 <spice/enums.h> #include "client/red_client.h" diff --git a/client/threads.cpp b/client/threads.cpp index eb4b7a18..0b359e8e 100644 --- a/client/threads.cpp +++ b/client/threads.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 "threads.h" diff --git a/client/tunnel_channel.cpp b/client/tunnel_channel.cpp index 52587422..3ed45726 100644 --- a/client/tunnel_channel.cpp +++ b/client/tunnel_channel.cpp @@ -18,6 +18,9 @@ Author: yhalperi@redhat.com */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include "common.h" #include "tunnel_channel.h" diff --git a/client/utils.cpp b/client/utils.cpp index 460f6107..01ea0d3a 100644 --- a/client/utils.cpp +++ b/client/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 "common.h" #include <stdlib.h> diff --git a/client/windows/event_sources_p.cpp b/client/windows/event_sources_p.cpp index c3578572..4a9adf16 100644 --- a/client/windows/event_sources_p.cpp +++ b/client/windows/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 "common.h" #include "event_sources.h" diff --git a/client/windows/main.cpp b/client/windows/main.cpp index 9c401023..5d6f85b4 100644 --- a/client/windows/main.cpp +++ b/client/windows/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 <fstream> diff --git a/client/windows/my_getopt.cpp b/client/windows/my_getopt.cpp index 280850a4..da87655a 100644 --- a/client/windows/my_getopt.cpp +++ b/client/windows/my_getopt.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 "../../common/win/my_getopt-1.5/my_getopt.c" diff --git a/client/windows/named_pipe.cpp b/client/windows/named_pipe.cpp index 856235a2..76d77da6 100644 --- a/client/windows/named_pipe.cpp +++ b/client/windows/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 "common.h" #include "named_pipe.h" diff --git a/client/windows/pixels_source.cpp b/client/windows/pixels_source.cpp index a27bfd37..167255bd 100644 --- a/client/windows/pixels_source.cpp +++ b/client/windows/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 "pixels_source.h" diff --git a/client/windows/platform.cpp b/client/windows/platform.cpp index f57413dd..c50d7fd5 100644 --- a/client/windows/platform.cpp +++ b/client/windows/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/windows/platform_utils.cpp b/client/windows/platform_utils.cpp index eb87468b..b57e921a 100644 --- a/client/windows/platform_utils.cpp +++ b/client/windows/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 "common.h" #include <map> diff --git a/client/windows/playback.cpp b/client/windows/playback.cpp index 52782889..701dffcb 100644 --- a/client/windows/playback.cpp +++ b/client/windows/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 "common.h" #include "playback.h" diff --git a/client/windows/record.cpp b/client/windows/record.cpp index 398b1650..f0bb6446 100644 --- a/client/windows/record.cpp +++ b/client/windows/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 "common.h" #include "record.h" diff --git a/client/windows/red_drawable.cpp b/client/windows/red_drawable.cpp index e4b6d8c1..dabc0d97 100644 --- a/client/windows/red_drawable.cpp +++ b/client/windows/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/windows/red_pixmap.cpp b/client/windows/red_pixmap.cpp index 2f8655c4..4538441c 100644 --- a/client/windows/red_pixmap.cpp +++ b/client/windows/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/windows/red_pixmap_gdi.cpp b/client/windows/red_pixmap_gdi.cpp index 035618c2..4336f461 100644 --- a/client/windows/red_pixmap_gdi.cpp +++ b/client/windows/red_pixmap_gdi.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_gdi.h" diff --git a/client/windows/red_pixmap_sw.cpp b/client/windows/red_pixmap_sw.cpp index 4d74da40..a72d8704 100644 --- a/client/windows/red_pixmap_sw.cpp +++ b/client/windows/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/windows/red_window.cpp b/client/windows/red_window.cpp index 9f79ab3d..92ece9b6 100644 --- a/client/windows/red_window.cpp +++ b/client/windows/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 "red_window.h" 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" diff --git a/client/zlib_decoder.cpp b/client/zlib_decoder.cpp index 9cdadb3c..6c154fef 100644 --- a/client/zlib_decoder.cpp +++ b/client/zlib_decoder.cpp @@ -14,6 +14,10 @@ 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 "zlib_decoder.h" #include "debug.h" |