summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-01 02:09:33 +0200
committerGünther Deschner <gd@samba.org>2009-10-01 12:19:43 +0200
commitcd82d4ba569a5048e506f8455d9c496a47805fc1 (patch)
tree9562840e5959256fc1de1bb363fa6616a52ff1ef /examples
parentc6a7ecf28b5d531b8f8921643b3aa3a01b74151b (diff)
downloadsamba-cd82d4ba569a5048e506f8455d9c496a47805fc1.tar.gz
s3: add perfcount idl and generated files.
Guenther
Diffstat (limited to 'examples')
-rw-r--r--examples/perfcounter/Makefile6
-rw-r--r--examples/perfcounter/perf.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/perfcounter/Makefile b/examples/perfcounter/Makefile
index 925e2ea080..bb7022e26c 100644
--- a/examples/perfcounter/Makefile
+++ b/examples/perfcounter/Makefile
@@ -15,10 +15,10 @@
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
-SAMBA_SRC_DIR=../../source
-TDB_SRC_DIR=$(SAMBA_SRC_DIR)/tdb
+SAMBA_SRC_DIR=../../source3
+TDB_SRC_DIR=$(SAMBA_SRC_DIR)/../lib/tdb
-CFLAGS = -g -I$(SAMBA_SRC_DIR)/include -I$(TDB_SRC_DIR)/include
+CFLAGS = -g -I$(SAMBA_SRC_DIR) -I$(SAMBA_SRC_DIR)/include -I$(TDB_SRC_DIR)/include -I../../
CC = gcc
PROGS = perfcount
diff --git a/examples/perfcounter/perf.h b/examples/perfcounter/perf.h
index 2c24d31260..7f06b05027 100644
--- a/examples/perfcounter/perf.h
+++ b/examples/perfcounter/perf.h
@@ -36,8 +36,8 @@
#include <sys/time.h>
#include <sys/wait.h>
#include <limits.h>
-#include "tdb.h"
-#include <rpc_perfcount_defs.h>
+#include <tdb.h>
+#include "librpc/gen_ndr/perfcount.h"
#include <sys/statfs.h>
#include <sys/times.h>
#include <sys/sysinfo.h>