Skip to content

Commit

Permalink
Linux: fix include style issues for ZramStats.h
Browse files Browse the repository at this point in the history
  • Loading branch information
intelfx authored and BenBE committed Apr 23, 2023
1 parent b29b33e commit 0c8df5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion linux/LinuxProcessList.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in the source distribution for its full text.
#include "Hashtable.h"
#include "ProcessList.h"
#include "UsersTable.h"
#include "ZramStats.h"
#include "linux/ZramStats.h"
#include "zfs/ZfsArcStats.h"

#define HTOP_HUGEPAGE_BASE_SHIFT 16
Expand Down
8 changes: 8 additions & 0 deletions linux/ZramStats.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#ifndef HEADER_ZramStats
#define HEADER_ZramStats
/*
htop - ZramStats.h
(C) 2020 htop dev team
Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/

#include "ProcessList.h"

typedef struct ZramStats_ {
memory_t totalZram;
Expand Down

0 comments on commit 0c8df5f

Please sign in to comment.