summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2015-07-31 14:10:54 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2015-07-31 14:10:54 +0200
commit9503109725f4bac2d087e9fdcd547cadbcffd0a0 (patch)
treef91a7d288dea320fd3e53b84163bd237bdab375c
parent5bd8c72163d7f3c1180cd1955fe22dafae901b62 (diff)
downloadpsutil-9503109725f4bac2d087e9fdcd547cadbcffd0a0.tar.gz
#659: try to fix compilation err on suse 10
-rw-r--r--HISTORY.rst8
-rw-r--r--MANIFEST.in1
-rw-r--r--psutil/_psutil_linux.c1
3 files changed, 9 insertions, 1 deletions
diff --git a/HISTORY.rst b/HISTORY.rst
index 12b985d1..d6e81e08 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,5 +1,13 @@
Bug tracker at https://github.com/giampaolo/psutil/issues
+3.1.2 - XXXX-XX-XX
+==================
+
+**Bug fixes**
+
+- #659: [Linux] compilation error on Suse 10.
+
+
3.1.1 - 2015-07-15
==================
diff --git a/MANIFEST.in b/MANIFEST.in
index d807be28..175cf79f 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,6 +1,5 @@
include .coveragerc
include .git-pre-commit
-include .git-pre-commit
include .gitignore
include .travis.yml
include CREDITS
diff --git a/psutil/_psutil_linux.c b/psutil/_psutil_linux.c
index a3bf5643..7c10a0c4 100644
--- a/psutil/_psutil_linux.c
+++ b/psutil/_psutil_linux.c
@@ -23,6 +23,7 @@
#include <sys/socket.h>
#include <linux/sockios.h>
#include <linux/if.h>
+#include <linux/types.h>
#include <linux/ethtool.h>
#include "_psutil_linux.h"