Fix cgo header

This commit is contained in:
Thomas Roehl 2022-02-15 18:16:05 +01:00
parent ea5f4ab5c2
commit ef4fec954c

View File

@ -1,8 +1,8 @@
package sinks
/*
#cgo CFLAGS: -I./ganglia/include -DGM_PROTOCOL_GUARD
#cgo LDFLAGS: -L/usr/lib -lganglia
#cgo CFLAGS: -DGM_PROTOCOL_GUARD
#cgo LDFLAGS: -L. -lganglia
#include <stdlib.h>
enum ganglia_slope {
GANGLIA_SLOPE_ZERO = 0,