From 73750606a04f8163f9c398c2169d8539e8dcb459 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 30 Jul 2006 13:01:44 +0200 Subject: [PATCH] lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module. --- ChangeLog | 2 ++ lib/i386-ports.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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) -- 2.39.2