+2007-02-04 Martin Mares <mj@ucw.cz>
+
+ * lspci.c: alloca() needs <alloca.h>.
+
2006-09-17 Martin Mares <mj@ucw.cz>
* lib/dump.c: Fixed a couple of bugs in the dump backend which caused
/*
* The PCI Utilities -- List All PCI Devices
*
- * Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz>
+ * Copyright (c) 1997--2007 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
* use alloca() much.
*/
-#ifndef __GNUC__
+#ifdef __GNUC__
+#include <alloca.h>
+#else
#undef alloca
#define alloca xmalloc
#endif