mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
Add x11 and xext to USE_XORG. Add LICENSE_FILE. Switch to DISTVERSION. PR: 264669 Reported by: Arie Bikker <src-2016@bikker.homeunix.net> Approved by: submitter is maintainer
20 lines
504 B
C
20 lines
504 B
C
--- src/mem_freebsd.c.orig 2015-04-17 12:23:47 UTC
|
|
+++ src/mem_freebsd.c
|
|
@@ -10,6 +10,7 @@
|
|
#include "config.h"
|
|
#endif
|
|
|
|
+#include <sys/types.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
@@ -81,7 +82,7 @@ void mem_getusage(int *per_mem, int *per_swap, const s
|
|
if (swap_firsttime ||
|
|
(((new_swappgsin > swappgsin) || (new_swappgsout > swappgsout))
|
|
&& cur_time > last_time_swap + 1)) {
|
|
- int mib[2], n;
|
|
+ int mib[3], n;
|
|
size_t mibsize, size;
|
|
struct xswdev xsw;
|
|
|