Wireshark-dev: [Wireshark-dev] FW: [Wireshark-commits] rev 51024: /trunk/epan/ /trunk/epan/: CM
If anyone is interested, this patch makes it compile.
Regards
Anders
Index: app_mem_usage.c
===================================================================
--- app_mem_usage.c (revision 2106)
+++ app_mem_usage.c (working copy)
@@ -24,9 +24,16 @@
/* code copied from ekg2, GPL-2 */
#include "config.h"
+
+#include <stdio.h>
+#include <string.h>
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <glib.h>
-
+
#include "app_mem_usage.h"
#ifdef HAVE_SYS_UTSNAME_H
@@ -127,4 +134,4 @@
}
return rozmiar;
#endif /* (_WIN32) */
-}
\ No newline at end of file
+}
-----Original Message-----
From: wireshark-commits-bounces@xxxxxxxxxxxxx [mailto:wireshark-commits-bounces@xxxxxxxxxxxxx] On Behalf Of etxrab@xxxxxxxxxxxxx
Sent: den 30 juli 2013 08:11
To: wireshark-commits@xxxxxxxxxxxxx
Subject: [Wireshark-commits] rev 51024: /trunk/epan/ /trunk/epan/: CMakeLists.txt Makefile.common
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51024
User: etxrab
Date: 2013/07/29 11:10 PM
Log:
Building app_mem_usage fails on *nix, missing include(s)?
Don't have the time to fix it at the moment.
Directory: /trunk/epan/
Changes Path Action
+0 -1 CMakeLists.txt Modified
+0 -2 Makefile.common Modified
___________________________________________________________________________
Sent via: Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
Archives: http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe