[patch] 0.9.7: fix compilation
Tim Waugh <[email protected]> Fri, 25 Nov 2005 13:54:27 +0000
| Newsgroups | gmane.linux.drivers.hpofficejet.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I needed this patch to fix compilation against current glibc in Fedora Core devel. Tim. */ --- hplip-0.9.6/scan/sane/hpaio.h.compile 2005-11-18 12:02:11.000000000 +0000 +++ hplip-0.9.6/scan/sane/hpaio.h 2005-11-18 12:02:30.000000000 +0000 @@ -31,8 +31,8 @@ #include <stdio.h> -#ifndef __USE_GNU -#define __USE_GNU +#ifndef _GNU_SOURCE +#define _GNU_SOURCE #endif #include <sys/time.h> ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click