weston/shared
Andrew Wedgbury 9cd661e746 Make sure config.h is included before any system headers
There was an issue recently in screen-share.c where config.h was not
being included, resulting in the wrong definition for off_t being used on
32 bit systems. I checked and I don't think this problem is happening
elsewhere, but to help avoid this sort of problem in the future, I went
through and made sure that config.h is included first whenever system
headers are included.

The config.h header should be included before any system headers, failing
to do this can result in the wrong type sizes being defined on certain
systems, e.g. off_t from sys/types.h

Signed-off-by: Andrew Wedgbury <andrew.wedgbury@realvnc.com>
2014-04-07 10:22:28 -07:00
..
cairo-util.c window.c: Don't put titlebars on menu windows 2013-10-23 22:12:13 -07:00
cairo-util.h xdg-shell: Add set_margin request 2014-02-06 13:05:03 -08:00
config-parser.c config: Don't crash if we don't have a config file 2013-09-26 16:24:33 -07:00
config-parser.h compositor: Log the full path of the config file we're using 2013-09-21 23:17:35 -07:00
frame.c xdg-shell: Add set_margin request 2014-02-06 13:05:03 -08:00
image-loader.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
image-loader.h Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
matrix.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
matrix.h sdk: be C++ friendly 2013-03-28 14:03:58 -04:00
option-parser.c configure.ac: Enable AC_USE_SYSTEM_EXTENSIONS 2013-06-05 01:16:34 -04:00
os-compatibility.c os: use posix_fallocate in creating sharable buffers 2013-12-02 16:20:27 -08:00
os-compatibility.h Make sure config.h is included before any system headers 2014-04-07 10:22:28 -07:00
zalloc.h Add zalloc(size_t) allocator function 2013-08-08 13:46:13 -07:00