summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2009-09-23 08:33:23 +0000
committerDmitry Stogov <dmitry@php.net>2009-09-23 08:33:23 +0000
commit6f32199f7523aa31032ef0b90df30b9e2ba3a611 (patch)
tree33f22094912c4f0e52423a349f701097e1786689
parent788031f0935ecf26681664ebcd5c81fdfbe7564e (diff)
downloadphp-git-6f32199f7523aa31032ef0b90df30b9e2ba3a611.tar.gz
Fixed compilation error
-rw-r--r--ext/mysqlnd/mysqlnd_portability.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_portability.h b/ext/mysqlnd/mysqlnd_portability.h
index ca6f5541c4..a4945a9da5 100644
--- a/ext/mysqlnd/mysqlnd_portability.h
+++ b/ext/mysqlnd/mysqlnd_portability.h
@@ -9,6 +9,9 @@ This file is public domain and comes with NO WARRANTY of any kind */
were added to improve the header file, to get it more consistent.
*/
+#ifndef MYSQLND_PORTABILITY_H
+#define MYSQLND_PORTABILITY_H
+
/* Comes from global.h as OFFSET, renamed to STRUCT_OFFSET */
#define STRUCT_OFFSET(t, f) ((size_t)(char *)&((t *)0)->f)
@@ -497,6 +500,7 @@ typedef union {
#endif /* WORDS_BIGENDIAN */
+#endif /* MYSQLND_PORTABILITY_H */
/*