]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
class: makefile, include fixes
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 8 Jun 2009 20:48:28 +0000 (13:48 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 8 Jun 2009 20:48:28 +0000 (13:48 -0700)
src/Makefile.am
src/objclass/objclass.h

index 9eb912b73ab446237e7d386b4f603668900a1b5d..abcc903830e4c047f20ff1e71108e1e9b999349d 100644 (file)
@@ -134,7 +134,7 @@ testradoscio_LDADD = librados.la libcrush.la
 #BUILT_SOURCES += libtestclass.so libfooclass.so libbarclass.so
 
 libcls_crypto.so: cls_crypto.cc
-       ${CXX} -fPIC -shared -g -o libcls_crypto.so -lcrypto cls_crypto.cc
+       ${CXX} -I. -fPIC -shared -g -o libcls_crypto.so -lcrypto cls_crypto.cc
 BUILT_SOURCES += libcls_crypto.so
 
 libcls_trivialmap.so: cls_trivialmap.cc
index 20c6520368d1a76dd4574bf87670f5fc43467be8..62d37ff003ae00bf4ef327ea09d65f613a048932 100644 (file)
@@ -2,6 +2,9 @@
 #define __OBJCLASS_H
 
 #ifdef __cplusplus
+
+#include "../include/types.h"
+
 extern "C" {
 #endif