gconf, gsettings: fix config.h includes

config.h should be included by all .c files and none of the .h files.
This commit is contained in:
Tanu Kaskinen 2018-04-17 09:07:35 +03:00
parent d7a457eaed
commit 0623b3c91e
4 changed files with 10 additions and 8 deletions

View file

@ -17,7 +17,9 @@
along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include "../stdin-util.h" #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
@ -26,6 +28,8 @@
#include <pulsecore/core-util.h> #include <pulsecore/core-util.h>
#include <pulsecore/start-child.h> #include <pulsecore/start-child.h>
#include "../stdin-util.h"
PA_MODULE_AUTHOR("Lennart Poettering"); PA_MODULE_AUTHOR("Lennart Poettering");
PA_MODULE_DESCRIPTION("GConf Adapter"); PA_MODULE_DESCRIPTION("GConf Adapter");
PA_MODULE_VERSION(PACKAGE_VERSION); PA_MODULE_VERSION(PACKAGE_VERSION);

View file

@ -17,7 +17,9 @@
along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include "../stdin-util.h" #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
@ -26,6 +28,8 @@
#include <pulsecore/core-util.h> #include <pulsecore/core-util.h>
#include <pulsecore/start-child.h> #include <pulsecore/start-child.h>
#include "../stdin-util.h"
PA_MODULE_AUTHOR("Sylvain Baubeau"); PA_MODULE_AUTHOR("Sylvain Baubeau");
PA_MODULE_DESCRIPTION("GSettings Adapter"); PA_MODULE_DESCRIPTION("GSettings Adapter");
PA_MODULE_VERSION(PACKAGE_VERSION); PA_MODULE_VERSION(PACKAGE_VERSION);

View file

@ -17,8 +17,6 @@
License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include "stdin-util.h"
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif

View file

@ -20,10 +20,6 @@
License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/ ***/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <errno.h> #include <errno.h>
#include <stdint.h> #include <stdint.h>
#include <sys/types.h> #include <sys/types.h>