summaryrefslogtreecommitdiffstats
path: root/contrib/uuid
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-07-19 05:54:25 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-19 05:11:05 -0700
commita6b90707bf68fe62bf115cfb143d9df69627cb64 (patch)
tree86a98f2e31bd9ec3cdba8b05386ef2d928bc09ed /contrib/uuid
parent87ec1b72dac8f50f9eb4ba3b127baca19993ae94 (diff)
Changes for volume commands
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1161 (gluster volume start command segfaults glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1161
Diffstat (limited to 'contrib/uuid')
-rw-r--r--contrib/uuid/uuid.h1
-rw-r--r--contrib/uuid/uuidP.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/contrib/uuid/uuid.h b/contrib/uuid/uuid.h
index ca846da0f..ab006652f 100644
--- a/contrib/uuid/uuid.h
+++ b/contrib/uuid/uuid.h
@@ -35,6 +35,7 @@
#ifndef _UUID_UUID_H
#define _UUID_UUID_H
+#include "config.h"
#include <sys/types.h>
#ifndef _WIN32
#include <sys/time.h>
diff --git a/contrib/uuid/uuidP.h b/contrib/uuid/uuidP.h
index 9d6555877..9a2de6132 100644
--- a/contrib/uuid/uuidP.h
+++ b/contrib/uuid/uuidP.h
@@ -32,6 +32,7 @@
* %End-Header%
*/
+#include "uuid.h"
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#else
@@ -39,7 +40,6 @@
#endif
#include <sys/types.h>
-#include "uuid.h"
/*
* Offset between 15-Oct-1582 and 1-Jan-70