include: [xalloc.h] include string.h

xalloc.h needs string.h for declaration of strdup().  Otherwise we
can get implicit declaration warning.  This patch prevents it.

Signed-off-by: Marek Polacek <mpolacek@redhat.com>
This commit is contained in:
Marek Polacek 2011-02-04 15:08:48 +01:00 committed by Karel Zak
parent 40084d0d5c
commit b45fa8b2f1
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include <stdlib.h>
#include <err.h>
#include <string.h>
#include "c.h"