From: Martin Mares Date: Sun, 30 Jul 2006 11:01:44 +0000 (+0200) Subject: lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module. X-Git-Tag: v3.0.0~49 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=73750606a04f8163f9c398c2169d8539e8dcb459;p=pciutils.git lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module. --- diff --git a/ChangeLog b/ChangeLog index 721f96f..4cf2916 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-07-30 Martin Mares + * lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module. + * lib/header.h: Whitespace cleanups. * lib/i386-io-windows.h: Fixed indentation and spelling. diff --git a/lib/i386-ports.c b/lib/i386-ports.c index 9307ce9..23feaf3 100644 --- a/lib/i386-ports.c +++ b/lib/i386-ports.c @@ -1,15 +1,17 @@ /* * The PCI Library -- Direct Configuration access via i386 Ports * - * Copyright (c) 1997--2004 Martin Mares + * Copyright (c) 1997--2006 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ -#include +#define _GNU_SOURCE #include "internal.h" +#include + #if defined(PCI_OS_LINUX) #include "i386-io-linux.h" #elif defined(PCI_OS_GNU)