Include xcb_errors.h from errors.h

This makes errors.h self-contained. It needs the definitions of uint8_t &
friends that we get through xcb.h from stdint.h.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-03-18 22:13:05 +01:00
parent 925ab1e7fb
commit 92123f9f80
2 changed files with 2 additions and 1 deletions

View file

@ -26,6 +26,8 @@
* authorization from the authors.
*/
#include "xcb_errors.h"
struct static_extension_info_t {
uint16_t num_minor;
uint8_t num_events;

View file

@ -23,7 +23,6 @@
* authorization from the authors.
*/
#include "xcb_errors.h"
#include "errors.h"
const char unknown_major_code[] = {