Commit 7b455411 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix compilation

There is something seriously messed up in these files though
(like the declaration in xtag.h do not match the definition in xtag.c!)
parent bee10796
...@@ -24,7 +24,9 @@ ...@@ -24,7 +24,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
************************************************************************/ ************************************************************************/
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "xarray.h" #include "xarray.h"
#define XARRAY_ASSERT_NOT_NULL(xarray) \ #define XARRAY_ASSERT_NOT_NULL(xarray) \
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#include <stdlib.h>
#include "xlist.h" #include "xlist.h"
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#ifndef __XSTRCAT_H__ #ifndef __XSTRCAT_H__
#define __XSTRCAT_H__ #define __XSTRCAT_H__
# include <string.h>
# include <stdlib.h>
/* like strcat, but realloc's enough memory for the new string too */ /* like strcat, but realloc's enough memory for the new string too */
......
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
#include <ctype.h> #include <ctype.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <xlist.h> #include <xlist.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment