From e78a64fa159860c4f1473b937afb5bd3b20d8c62 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Tue, 2 Feb 2016 21:31:23 +0000 Subject: [PATCH] Fix compilation in darwin --- common/marshal/marshal_darwin.go | 4 ++++ probe/endpoint/procspy/{proc.go => proc_linux.go} | 0 2 files changed, 4 insertions(+) create mode 100644 common/marshal/marshal_darwin.go rename probe/endpoint/procspy/{proc.go => proc_linux.go} (100%) diff --git a/common/marshal/marshal_darwin.go b/common/marshal/marshal_darwin.go new file mode 100644 index 000000000..04becb198 --- /dev/null +++ b/common/marshal/marshal_darwin.go @@ -0,0 +1,4 @@ +package marshal + +// Stub to make the compiler happy in darwin (i.e. avoid "no buildable Go source +// files in" error) diff --git a/probe/endpoint/procspy/proc.go b/probe/endpoint/procspy/proc_linux.go similarity index 100% rename from probe/endpoint/procspy/proc.go rename to probe/endpoint/procspy/proc_linux.go