Remove procfs dependency unless cgo is enabled

This commit is contained in:
Johannes 'fish' Ziemke 2015-02-06 15:13:59 +01:00
parent 52186fc518
commit 93d11c8e35
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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