summaryrefslogtreecommitdiff
path: root/src/bin/psql/common.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-03-18 13:43:13 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-03-18 13:43:17 -0400
commit3422fecccadb021b7b4cdbc73b2c29f66f031761 (patch)
treeab2baf99174fb393d8e87322994599ca1a5abced /src/bin/psql/common.h
parent61d2ebdbf9155d80f83281d8c5729c8f8f0949bc (diff)
Clean up some misplaced #includes.
Random .h files have no business including postgres-fe.h (or postgres.h). If that wasn't the first #include done by the calling .c file, it's the .c file that's broken. Noted while prepping Kyotaro Horiguchi's psql lexer refactoring patch.
Diffstat (limited to 'src/bin/psql/common.h')
-rw-r--r--src/bin/psql/common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/psql/common.h b/src/bin/psql/common.h
index 6ba3f44e2cb..ce7b93f9e5e 100644
--- a/src/bin/psql/common.h
+++ b/src/bin/psql/common.h
@@ -8,10 +8,9 @@
#ifndef COMMON_H
#define COMMON_H
-#include "postgres_fe.h"
#include <setjmp.h>
-#include "libpq-fe.h"
+#include "libpq-fe.h"
#include "print.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))