91ed276194ce25992417787117a806b8e2172c01
larrym
  Tue Nov 22 15:40:32 2011 -0800
add tdbSetCartVisibility and use in hgTracks to fix #1666
diff --git src/hg/inc/cart.h src/hg/inc/cart.h
index 50fb8a7..b30f07e 100644
--- src/hg/inc/cart.h
+++ src/hg/inc/cart.h
@@ -1,22 +1,24 @@
 /* cart - stuff to manage variables that persist from
  * one invocation of a cgi script to another (variables
  * that are carted around).  */
 
 #ifndef CART_H
 #define CART_H
 
+struct cart;         // forward definition for use in trackDb.h
+
 #include "jksql.h"
 #include "errabort.h"
 #include "dystring.h"
 #include "linefile.h"
 #include "trackDb.h"
 
 // If cgi set as CART_VAR_EMPTY, then removed from cart
 // If If cgi created new and oldVars are stored, then will be CART_VAR_EMPTY in old vars
 #define CART_VAR_EMPTY "[]"
 #define IS_CART_VAR_EMPTY(var) ((var) == NULL || sameString(var,CART_VAR_EMPTY))
 
 typedef struct sqlConnection *(*DbConnector)();
 /* funtion type used to get a connection to database */
 
 typedef void (*DbDisconnect)(struct sqlConnection **pConn);