diff options
author | Tollef Fog Heen <tfheen@err.no> | 2009-03-30 21:00:14 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2009-03-30 21:00:14 +0200 |
commit | 2e0493a34344480033792f859cc818adc010a17f (patch) | |
tree | c4219925715e40c82f6778cf5e1a473f7c0ce7ef /pkg.c | |
parent | 7e8a4d6c850092a12ab5164879fb7bfcf45734f0 (diff) | |
download | pkg-config-2e0493a34344480033792f859cc818adc010a17f.tar.gz |
2009-03-30 Tollef Fog Heen <tfheen@err.no>
* poptparse.c, popthelp.c, poptconfig.c, popt.c, pkg.c, findme.c,
configure.in: Check for malloc.h and use that if it exists.
Apparently this makes Win32 happier. Thanks to Carlo Bramini for
the patch.
Diffstat (limited to 'pkg.c')
-rw-r--r-- | pkg.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ # endif #endif +#ifdef HAVE_MALLOC_H +# include <malloc.h> +#endif + #include <sys/types.h> #include <dirent.h> #include <string.h> |