Re: [PATCH] usb_id: fix warning (undefined _GNU_SOURCE)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-08-13 at 00:01 +0200, Karel Zak wrote:
> usb_id.c: In function ‘set_str’:
>   usb_id.c:69  warning: implicit declaration of function ‘strnlen’

I did add the include already locally.

> IMHO this patch is workaround. The correct way is to use "-include
> $(top_builddir)/config.h" as a gcc option. I'll submit a patch with
> this solution later.

Yeah, makes sense, so we can remove all the includes and ifdefs in a
whole bunch of files.

Thanks,
Kay

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux