From fedea006239b1f323d94f931c9e3c797fa257a74 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 15 Mar 2015 15:49:05 -0700 Subject: [PATCH] Minor cleanup --- Makefile | 3 ++- bcacheadm.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 34d86947..60abbd87 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ PREFIX=/usr UDEVLIBDIR=/lib/udev DRACUTLIBDIR=/lib/dracut INSTALL=install -CFLAGS+=-std=gnu99 -O2 -Wall -Werror -g -I. +CFLAGS+=-std=gnu99 -O2 -Wall -Werror -g -Iinclude +LDFLAGS+=-static all: bcacheadm probe-bcache diff --git a/bcacheadm.c b/bcacheadm.c index d6e2d869..792b5b79 100644 --- a/bcacheadm.c +++ b/bcacheadm.c @@ -22,13 +22,12 @@ #include #include #include -#include #include #include #include #include #include -#include //libbcache +#include "bcache.h" //libbcache #define PACKAGE_NAME "bcacheadm" #define PACKAGE_VERSION "1.0"