Fix build with C99 compiler

This commit is contained in:
joerg 2012-07-03 17:28:30 +00:00
parent 088316e4fa
commit 473ffd5ef5
2 changed files with 19 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.4 2005/02/23 18:43:53 wiz Exp $ $NetBSD: distinfo,v 1.5 2012/07/03 17:28:30 joerg Exp $
SHA1 (bbrun-1.3.tar.gz) = 719af622334f6c3186f07da7c9246a8b05381f6c SHA1 (bbrun-1.3.tar.gz) = 719af622334f6c3186f07da7c9246a8b05381f6c
RMD160 (bbrun-1.3.tar.gz) = 7a26b279e5fce1e3476978bd4f4764272a065bb1 RMD160 (bbrun-1.3.tar.gz) = 7a26b279e5fce1e3476978bd4f4764272a065bb1
Size (bbrun-1.3.tar.gz) = 19423 bytes Size (bbrun-1.3.tar.gz) = 19423 bytes
SHA1 (patch-.._wmgeneral_list.h) = 8c9d1e5e1b2fd18d6afcdc3740077c72f0e033b0

View file

@ -0,0 +1,17 @@
$NetBSD: patch-.._wmgeneral_list.h,v 1.1 2012/07/03 17:28:31 joerg Exp $
--- ../wmgeneral/list.h.orig 2012-07-03 11:42:25.000000000 +0000
+++ ../wmgeneral/list.h
@@ -29,11 +29,7 @@ Boston, MA 02111-1307, USA. */
#ifndef __LIST_H_
#define __LIST_H_
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
-# define INLINE inline
-#else
-# define INLINE
-#endif
+#define INLINE
typedef struct LinkedList {
void *head;