summaryrefslogtreecommitdiff
path: root/pgsql.h
diff options
context:
space:
mode:
Diffstat (limited to 'pgsql.h')
-rw-r--r--pgsql.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pgsql.h b/pgsql.h
index cdf90bb..2d3d8f9 100644
--- a/pgsql.h
+++ b/pgsql.h
@@ -15,6 +15,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef PGSQL_H
+#define PGSQL_H
+
#include <sys/types.h> /* size_t */
#include <sys/stat.h> /* mode_t */
@@ -40,3 +43,5 @@ int psql_create_dir( PGconn *conn, const int parent_id, const char *path, const
int psql_write_buf( PGconn *conn, const int id, const char *path, const char *buf, const size_t len );
int psql_write_meta( PGconn *conn, const int id, const char *path, PgMeta meta );
+
+#endif