1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-02-02 20:14:07 +00:00

Merge pull request #68 from X0rg/master

Minor fixes
This commit is contained in:
Veselin Georgiev 2016-09-22 16:31:14 +01:00 committed by GitHub
commit 94843e8fd5
5 changed files with 9 additions and 3 deletions

2
debian/changelog vendored
View file

@ -11,7 +11,7 @@ libcpuid (0.3.0) unstable; urgency=low
-- eloaders <eloaders@linux.pl> Mon, 22 Aug 2016 17:45:21 +0200
libcpuid (0.21) unstable; urgency=low
libcpuid (0.2.1) unstable; urgency=low
* Initial release add debian directory for libcpuid.

2
debian/control vendored
View file

@ -2,7 +2,7 @@ Source: libcpuid
Section: utils
Priority: optional
Maintainer: Zhang, Guodong <gdzhang@linx-info.com>
Build-Depends: debhelper (>= 9), autotools-dev, libtool, automake, autoconf, python
Build-Depends: debhelper (>= 9), autotools-dev, libtool, automake, autoconf, python, doxygen
Standards-Version: 3.9.5
Homepage: https://github.com/anrieff/libcpuid

View file

@ -1 +1,2 @@
./usr/bin/cpuid_tool
/usr/share/man/man3/cpuid_tool.3

View file

@ -3,4 +3,8 @@
/usr/lib/*/lib*.la
/usr/lib/*/pkgconfig/
/usr/include/
/usr/share/man/man3/cpu_id_t.3
/usr/share/man/man3/cpu_list_t.3
/usr/share/man/man3/cpu_mark_t.3
/usr/share/man/man3/cpu_raw_data_t.3
/usr/share/man/man3/libcpuid.3

View file

@ -126,6 +126,7 @@ static int get_total_cpus(void)
#endif
#if defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __bsdi__ || defined __QNX__
#include <sys/types.h>
#include <sys/sysctl.h>
static int get_total_cpus(void)