diff options
author | Graham Inggs <ginggs@debian.org> | 2020-12-11 21:26:58 +0200 |
---|---|---|
committer | Graham Inggs <ginggs@debian.org> | 2020-12-11 21:26:58 +0200 |
commit | 02af5ad97f5def09e95d41203432816f50022534 (patch) | |
tree | 665f308b38e709bbc7ce4d055d3f7016f898cf37 /debian/patches/0003-Fix-kfreebsd-build.patch | |
parent | cdb702fe5a9835245c5182050b4232ddaeb5ac73 (diff) | |
download | debian_htop-02af5ad97f5def09e95d41203432816f50022534.tar.gz debian_htop-02af5ad97f5def09e95d41203432816f50022534.tar.bz2 debian_htop-02af5ad97f5def09e95d41203432816f50022534.zip |
Fix kFreeBSD build
Diffstat (limited to 'debian/patches/0003-Fix-kfreebsd-build.patch')
-rw-r--r-- | debian/patches/0003-Fix-kfreebsd-build.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0003-Fix-kfreebsd-build.patch b/debian/patches/0003-Fix-kfreebsd-build.patch new file mode 100644 index 0000000..2e4a630 --- /dev/null +++ b/debian/patches/0003-Fix-kfreebsd-build.patch @@ -0,0 +1,16 @@ +Description: Fix kFreeBSD build + Drop redundant sys/dirent.h include +Forwarded: https://github.com/htop-dev/htop/pull/386 +Author: Graham Inggs <ginggs@debian.org> +Last-Update: 2020-12-11 + +--- a/freebsd/FreeBSDProcessList.c ++++ b/freebsd/FreeBSDProcessList.c +@@ -14,7 +14,6 @@ + #include <stdlib.h> + #include <string.h> + #include <sys/_iovec.h> +-#include <sys/dirent.h> + #include <sys/errno.h> + #include <sys/param.h> // needs to be included before <sys/jail.h> for MAXPATHLEN + #include <sys/jail.h> |