X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fxmalloc.c;h=96f1d188c8064cbc6426f86af81b21f6477fc58c;hp=cf3ad267dc76eb185d3d2fcf71b7dfe430e2d64a;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/xmalloc.c b/src/xmalloc.c index cf3ad267..96f1d188 100644 --- a/src/xmalloc.c +++ b/src/xmalloc.c @@ -31,12 +31,7 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else /* not HAVE_STRING_H */ -# include -#endif /* not HAVE_STRING_H */ -#include +#include #include #include @@ -44,10 +39,6 @@ so, delete this exception statement from your version. */ #include "xmalloc.h" #include "hash.h" /* for hash_pointer */ -#ifndef errno -extern int errno; -#endif - /* This file implements several wrappers around the basic allocation routines. This is done for two reasons: first, so that the callers of these functions need not check for errors, which is easy to