blob: 2e4a6309270db5ff526bcc3a91dcd67734c44837 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>
|