]> granicus.if.org Git - php/commitdiff
Fixed compilation error
authorDmitry Stogov <dmitry@php.net>
Wed, 23 Sep 2009 08:33:23 +0000 (08:33 +0000)
committerDmitry Stogov <dmitry@php.net>
Wed, 23 Sep 2009 08:33:23 +0000 (08:33 +0000)
ext/mysqlnd/mysqlnd_portability.h

index ca6f5541c427b08de7ed8ca105c39c34e5731235..a4945a9da5e530016e6f6a76ac0c1468418521d2 100644 (file)
@@ -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 */
 
 
 /*