Use config_ac.h consistently and correctly

This commit is contained in:
Daniel Richard G 2023-05-11 21:07:17 -04:00
parent 7fe7ce9434
commit 42d32e7496
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>