Index: trunk/Ohana/src/libdvo/Makefile
===================================================================
--- trunk/Ohana/src/libdvo/Makefile	(revision 31635)
+++ trunk/Ohana/src/libdvo/Makefile	(revision 31636)
@@ -36,5 +36,5 @@
 $(DESTINC)/ps1_ref_defs.h
 
-INCS = $(DEFS) $(DESTINC)/dvo.h $(DESTINC)/autocode.h $(DESTINC)/dvo_util.h $(DESTINC)/dvodb.h $(DESTINC)/libdvo_astro.h $(DESTINC)/convert.h
+INCS = $(DEFS) $(DESTINC)/dvo.h $(DESTINC)/autocode.h $(DESTINC)/dvo_util.h $(DESTINC)/dvodb.h $(DESTINC)/libdvo_astro.h $(DESTINC)/convert.h $(DESTINC)/get_graphdata.h
 
 OBJS = \
Index: trunk/Ohana/src/libdvo/include/dvodb.h
===================================================================
--- trunk/Ohana/src/libdvo/include/dvodb.h	(revision 31635)
+++ trunk/Ohana/src/libdvo/include/dvodb.h	(revision 31636)
@@ -1,7 +1,4 @@
 # ifndef DVODB_H
 # define DVODB_H
-
-// to get definition of Graphdata
-# include "kapa.h"
 
 typedef enum {
@@ -333,5 +330,3 @@
 #define opihi_int int
 
-int GetGraphdata PROTO((Graphdata *data, int *kapa, char *name));
-
 # endif
Index: trunk/Ohana/src/libdvo/include/get_graphdata.h
===================================================================
--- trunk/Ohana/src/libdvo/include/get_graphdata.h	(revision 31636)
+++ trunk/Ohana/src/libdvo/include/get_graphdata.h	(revision 31636)
@@ -0,0 +1,8 @@
+#ifndef GET_GRAPHDATA_H
+#define GET_GRAPHDATA_H
+
+#include "kapa.h"
+
+int GetGraphdata PROTO((Graphdata *data, int *kapa, char *name));
+
+#endif //GET_GRAPHDATA_H
Index: trunk/Ohana/src/libdvo/src/ImageOps.c
===================================================================
--- trunk/Ohana/src/libdvo/src/ImageOps.c	(revision 31635)
+++ trunk/Ohana/src/libdvo/src/ImageOps.c	(revision 31636)
@@ -1,4 +1,5 @@
 # include "dvo.h"
 # include "dvodb.h"
+# include "get_graphdata.h"
 
 void image_subset (Image *image, off_t Nimage, off_t **Subset, off_t *Nsubset,
Index: trunk/Ohana/src/libdvo/src/dbCmdlineFields.c
===================================================================
--- trunk/Ohana/src/libdvo/src/dbCmdlineFields.c	(revision 31635)
+++ trunk/Ohana/src/libdvo/src/dbCmdlineFields.c	(revision 31636)
@@ -1,3 +1,4 @@
 # include "dvo.h"
+# include "get_graphdata.h"
 
 // check for 'where' or 'matched to'; return first field after the word, and the value
Index: trunk/Ohana/src/libdvo/src/db_utils.c
===================================================================
--- trunk/Ohana/src/libdvo/src/db_utils.c	(revision 31635)
+++ trunk/Ohana/src/libdvo/src/db_utils.c	(revision 31636)
@@ -1,3 +1,4 @@
 # include "dvo.h"
+# include "get_graphdata.h"
 
 // This file contains some functions used by the libdvo db lookup functions
