From 2f6f42c6a7a078fbf34efe146158a8f00dac97d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 9 Nov 1997 16:39:40 +0100 Subject: [PATCH] Added re-include protection. Rev: src/modules/Image/colortable.h:1.8 Rev: src/modules/Image/image.h:1.12 --- src/modules/Image/colortable.h | 11 ++++++++++- src/modules/Image/image.h | 8 ++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/modules/Image/colortable.h b/src/modules/Image/colortable.h index d5cb106476..664513f977 100644 --- a/src/modules/Image/colortable.h +++ b/src/modules/Image/colortable.h @@ -1,9 +1,16 @@ /* **! module Image **! note -**! $Id: colortable.h,v 1.7 1997/11/07 06:06:07 mirar Exp $ +**! $Id: colortable.h,v 1.8 1997/11/09 15:39:39 grubba Exp $ */ +#ifndef PIKE_IMAGE_COLORTABLE_H +#define PIKE_IMAGE_COLORTABLE_H + +#ifndef PIKE_IMAGE_IMAGE_H +#include "image.h" +#endif /* !PIKE_IMAGE_IMAGE_H */ + #define COLORLOOKUPCACHEHASHSIZE 207 typedef unsigned long nct_weight_t; @@ -193,3 +200,5 @@ int image_colortable_map_image(struct neo_colortable *nct, rgb_group *d, int len, int rowlen); + +#endif /* PIKE_IMAGE_COLORTABLE_H */ diff --git a/src/modules/Image/image.h b/src/modules/Image/image.h index 8dfb07c620..5d711eb4de 100644 --- a/src/modules/Image/image.h +++ b/src/modules/Image/image.h @@ -1,9 +1,12 @@ -/* $Id: image.h,v 1.11 1997/11/07 06:06:12 mirar Exp $ */ +/* $Id: image.h,v 1.12 1997/11/09 15:39:40 grubba Exp $ */ + +#ifndef PIKE_IMAGE_IMAGE_H +#define PIKE_IMAGE_IMAGE_H /* **! module Image **! note -**! $Id: image.h,v 1.11 1997/11/07 06:06:12 mirar Exp $ +**! $Id: image.h,v 1.12 1997/11/09 15:39:40 grubba Exp $ */ #define MAX_NUMCOL 32768 @@ -134,3 +137,4 @@ void image_tobitmap(INT32 args); void image_polygone(INT32 args); +#endif /* PIKE_IMAGE_IMAGE_H */ -- GitLab