[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] FreeBSD and sys/syslimits.h
- From: Matthias Bolte <matthias bolte googlemail com>
- To: Libvirt <libvir-list redhat com>
- Subject: [libvirt] FreeBSD and sys/syslimits.h
- Date: Sat, 14 May 2011 18:49:40 +0200
libvirtd.h includes sys/syslimits.h if available. On FreeBSD the
header contains this warning:
In file included from libvirtd.h:42,
from dispatch.h:28,
from dispatch.c:30:
/usr/include/sys/syslimits.h:41:2: warning: #warning "No
user-serviceable parts inside."
Here's the relevant part from that header:
#if !defined(_KERNEL) && !defined(_LIMITS_H_) && !defined(_SYS_PARAM_H_)
#ifndef _SYS_CDEFS_H_
#error this file needs sys/cdefs.h as a prerequisite
#endif
#ifdef __CC_SUPPORTS_WARNING
#warning "No user-serviceable parts inside."
#endif
#endif
This looks like this header is not meant to be included directly, at
least on FreeBSD.
Is this something gnulib or libvirt should care about?
Matthias
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]