summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-09-11 14:53:41 -0400
committerRobert Haas <rhaas@postgresql.org>2015-09-11 14:56:17 -0400
commit2ccc4e972eb85829a8fe8d39fc5ce4d770ac2e2e (patch)
tree790b7afe295d4509fcce7b710cdf968b1ec4acdc /src/include
parent5cd6538345858aec128945b58265a8d5560777dc (diff)
Fix build problems in commit aa65de042f5828968f2f6cd65f45c543a40cc3e6.
The previous way didn't work for vpath builds, and make distprep was busted too. Reported off-list by Andres Freund.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/storage/lwlock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/lwlock.h b/src/include/storage/lwlock.h
index 00435b062f0..4653e099b0d 100644
--- a/src/include/storage/lwlock.h
+++ b/src/include/storage/lwlock.h
@@ -90,9 +90,10 @@ typedef union LWLockPadded
char pad[LWLOCK_PADDED_SIZE];
} LWLockPadded;
extern PGDLLIMPORT LWLockPadded *MainLWLockArray;
+extern char *MainLWLockNames[];
/* Names for fixed lwlocks */
-#include "lwlocknames.h"
+#include "storage/lwlocknames.h"
/*
* It's a bit odd to declare NUM_BUFFER_PARTITIONS and NUM_LOCK_PARTITIONS