Wireshark mailing list archives

FW: [Wireshark-commits] rev 51024: /trunk/epan/ /trunk/epan/: CMakeLists.txt Makefile.common


From: Anders Broman <anders.broman () ericsson com>
Date: Tue, 30 Jul 2013 08:41:55 +0000

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 () wireshark org [mailto:wireshark-commits-bounces () wireshark org] On Behalf Of 
etxrab () wireshark org
Sent: den 30 juli 2013 08:11
To: wireshark-commits () wireshark org
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 () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: