2006-07-30 Martin Mares <mj@ucw.cz>
+ * 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.
/*
* The PCI Library -- Direct Configuration access via i386 Ports
*
- * Copyright (c) 1997--2004 Martin Mares <mj@ucw.cz>
+ * Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#include <unistd.h>
+#define _GNU_SOURCE
#include "internal.h"
+#include <unistd.h>
+
#if defined(PCI_OS_LINUX)
#include "i386-io-linux.h"
#elif defined(PCI_OS_GNU)