1. Ivan Voras
  2. ggvd

Commits

Ivan Voras  committed 97f2b20

Include kyotocabinet and libyaml includes and Makefile references

  • Participants
  • Parent commits 7d3e88f
  • Branches default

Comments (0)

Files changed (2)

File Makefile

View file
  • Ignore whitespace
 
 CFLAGS+= -DLIBGEOM
 CFLAGS+= -I /usr/src/sbin/ggate/shared
+CFLAGS+= -I /usr/local/include
+CFLAGS+= -L /usr/local/lib
 
 DPADD=	${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
-LDADD=	-lgeom -lsbuf -lbsdxml -lutil
+LDADD=	-lgeom -lsbuf -lbsdxml -lutil -lkyotocabinet -lyaml
 
 .include <bsd.prog.mk>

File ggvd.c

View file
  • Ignore whitespace
  * $$
  */
 
+#include <sys/param.h>
+#include <sys/time.h>
+#include <sys/bio.h>
+#include <sys/disk.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+#include <sys/syslog.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
 #include <err.h>
 #include <errno.h>
 #include <assert.h>
-#include <sys/param.h>
-#include <sys/time.h>
-#include <sys/bio.h>
-#include <sys/disk.h>
-#include <sys/ioctl.h>
-#include <sys/stat.h>
-#include <sys/syslog.h>
+
+#include <kclangc.h>
+#include <yaml.h>
 
 #include <geom/gate/g_gate.h>
 #include "ggate.h"