Permalink
Browse files

Remove procfs dependency unless cgo is enabled

  • Loading branch information...
discordianfish committed Feb 6, 2015
1 parent 52186fc commit 93d11c8e35ffcd969fd881efe1873e715a6ef93b
Showing with 2 additions and 2 deletions.
  1. +1 −1 prometheus/process_collector_procfs.go
  2. +1 −1 prometheus/process_collector_rest.go
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build linux plan9 solaris
// +build linux,cgo plan9,cgo solaris,cgo
package prometheus
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !linux,!plan9,!solaris
// +build !linux,!plan9,!solaris !cgo
package prometheus

0 comments on commit 93d11c8

Please sign in to comment.