diff --git a/src/plugins/php/weechat-php-api.h b/src/plugins/php/weechat-php-api.h
index bf53ed39a..eadab84b9 100644
--- a/src/plugins/php/weechat-php-api.h
+++ b/src/plugins/php/weechat-php-api.h
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see .
*/
-#ifndef WEECHAT_PHP_API_H
-#define WEECHAT_PHP_API_H 1
+#ifndef WEECHAT_PLUGIN_PHP_API_H
+#define WEECHAT_PLUGIN_PHP_API_H 1
extern struct zval* weechat_php_api_funcs[];
extern struct t_php_const weechat_php_api_consts[];
@@ -221,4 +221,4 @@ PHP_FUNCTION(weechat_window_set_title);
PHP_FUNCTION(forget_class);
PHP_FUNCTION(forget_function);
-#endif /* WEECHAT_PHP_API_H */
+#endif /* WEECHAT_PLUGIN_PHP_API_H */
diff --git a/src/plugins/php/weechat-php.h b/src/plugins/php/weechat-php.h
index c1a2778db..615aedd78 100644
--- a/src/plugins/php/weechat-php.h
+++ b/src/plugins/php/weechat-php.h
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see .
*/
-#ifndef WEECHAT_PHP_H
-#define WEECHAT_PHP_H 1
+#ifndef WEECHAT_PLUGIN_PHP_H
+#define WEECHAT_PLUGIN_PHP_H 1
#define weechat_plugin weechat_php_plugin
#define PHP_PLUGIN_NAME "php"
@@ -57,4 +57,4 @@ extern void *weechat_php_exec (struct t_plugin_script *script,
extern zval *weechat_php_func_map_get (const char *func_name);
extern char *weechat_php_func_map_add (zval *ofunc);
-#endif /* WEECHAT_PHP_H */
+#endif /* WEECHAT_PLUGIN_PHP_H */