X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_list.c;h=129540bc4c38452831eea519a875074ad9a031ab;hb=a187ae85729ec56e46ed0a0453458db18ab731eb;hp=3a18d908650414f58cf5e217591e9866fabdeb26;hpb=a3bd6f4760b5b3f5f360a690920839646e2b9d06;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_list.c b/src/xcb_list.c index 3a18d90..129540b 100644 --- a/src/xcb_list.c +++ b/src/xcb_list.c @@ -25,6 +25,10 @@ /* A generic implementation of a list of void-pointers. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "xcb.h" @@ -43,7 +47,7 @@ struct _xcb_map { /* Private interface */ -_xcb_map *_xcb_map_new() +_xcb_map *_xcb_map_new(void) { _xcb_map *list; list = malloc(sizeof(_xcb_map));