From 00ab6d9d471ccaa4a66395e747eadb6eeb5dd3f5 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 17 Aug 2015 10:05:08 -0400 Subject: [PATCH] Fix a daemon build error when cgo isn't available Avoid duplicate definitions of NewSqliteConn when cgo isn't enabled, so that we can at least build the daemon. Signed-off-by: Nalin Dahyabhai (github: nalind) --- pkg/graphdb/conn_sqlite3.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/graphdb/conn_sqlite3.go b/pkg/graphdb/conn_sqlite3.go index 47c6b72041..dbcf44c256 100644 --- a/pkg/graphdb/conn_sqlite3.go +++ b/pkg/graphdb/conn_sqlite3.go @@ -1,3 +1,5 @@ +// +build cgo + package graphdb import "database/sql"