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:
parent
40084d0d5c
commit
b45fa8b2f1
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <err.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "c.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue