diff --git a/src/b64.h b/b64.h similarity index 100% rename from src/b64.h rename to b64.h diff --git a/src/components.h b/components.h similarity index 100% rename from src/components.h rename to components.h diff --git a/config.m4 b/config.m4 index c0d1cb7f8e71caf1ac7b1ca133f6bb4c3c1a6d89..fd05022f40d087ae06109764714a9cdce47f0439 100644 --- a/config.m4 +++ b/config.m4 @@ -2,10 +2,9 @@ PHP_ARG_ENABLE(skywalking, whether to enable skywalking support, [ --enable-skywalking Enable skywalking support]) if test "$PHP_SKYWALKING" != "no"; then - PHP_ADD_INCLUDE("src") PHP_NEW_EXTENSION(skywalking, \ skywalking.c \ - src/decode.c \ - src/encode.c \ + decode.c \ + encode.c \ , $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) fi diff --git a/src/decode.c b/decode.c similarity index 100% rename from src/decode.c rename to decode.c diff --git a/src/encode.c b/encode.c similarity index 100% rename from src/encode.c rename to encode.c diff --git a/skywalking.c b/skywalking.c index f34b247a58a2b96b6f6c02847349d6632997158c..ffbe89e2beab022ddbd56596f68df4c4f9cd7588 100644 --- a/skywalking.c +++ b/skywalking.c @@ -30,7 +30,7 @@ #include "php_ini.h" #include "ext/standard/info.h" #include "ext/standard/php_string.h" -#include "src/components.h" +#include "components.h" #include "php_skywalking.h" #include "ext/standard/url.h" /* for php_url */ #include "ext/standard/php_var.h"