Merge pull request #2667 from iskunk/new-1

Use config_ac.h consistently and correctly
This commit is contained in:
matt335672 2023-05-13 10:17:32 +01:00 committed by GitHub
commit f57e0b959f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 6 deletions

View File

@ -63,8 +63,11 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#ifndef PIXMAN_REGION_MAX
#error "This file should be #included from pixman-region16.c, not compiled directly"
#endif
#ifndef CONFIG_AC_H
#error "config_ac.h not visible in pixman-region.c"
#endif
#define PIXREGION_NIL(reg) ((reg)->data && !(reg)->data->numRects)

View File

@ -22,6 +22,10 @@
* xfree86(base)->evdev keycode mapping
*/
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif
int xfree86_to_evdev[137 - 8 + 1] =
{
/* MDSW */ 203,

View File

@ -26,10 +26,6 @@
#if !defined(LIBIPM_H)
#define LIBIPM_H
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif
#include "arch.h"
#include "libipm_facilities.h"

View File

@ -1,3 +1,6 @@
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,3 +1,6 @@
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@ -16,6 +16,10 @@
* limitations under the License.
*/
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif
#include <stdio.h>
#include <gtk/gtk.h>
#include <pthread.h>

View File

@ -16,6 +16,10 @@
* limitations under the License.
*/
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif
#include "gtcp.h"
/**

View File

@ -16,6 +16,10 @@
* limitations under the License.
*/
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#endif
#include <stdio.h>
#include <stdint.h>
#include <string.h>