diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-08-22 19:34:49 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-08-22 19:34:49 +0000 |
commit | 51251cc297715437c2f3be0b4b499be54919fa21 (patch) | |
tree | 4dc0217709931df0e3f94a12e6e5849b06edeacb /lib | |
parent | eaefcd776d24134c5741bc908919988529ab74f7 (diff) | |
download | netpbm-mirror-51251cc297715437c2f3be0b4b499be54919fa21.tar.gz netpbm-mirror-51251cc297715437c2f3be0b4b499be54919fa21.tar.xz netpbm-mirror-51251cc297715437c2f3be0b4b499be54919fa21.zip |
Add missing pm_config.h
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1554 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpamread.c | 1 | ||||
-rw-r--r-- | lib/libpamwrite.c | 2 | ||||
-rw-r--r-- | lib/libppmcmap.c | 1 | ||||
-rw-r--r-- | lib/lum.h | 2 | ||||
-rw-r--r-- | lib/pam.h | 1 | ||||
-rw-r--r-- | lib/pamdraw.h | 2 | ||||
-rw-r--r-- | lib/ppm.h | 1 | ||||
-rw-r--r-- | lib/ppmdraw.h | 2 |
8 files changed, 11 insertions, 1 deletions
diff --git a/lib/libpamread.c b/lib/libpamread.c index 35d118b4..ca358bd7 100644 --- a/lib/libpamread.c +++ b/lib/libpamread.c @@ -16,6 +16,7 @@ #include <limits.h> #include <assert.h> +#include "pm_config.h" #include "fileio.h" #include "nstring.h" #include "pam.h" diff --git a/lib/libpamwrite.c b/lib/libpamwrite.c index dd319d4a..31e39613 100644 --- a/lib/libpamwrite.c +++ b/lib/libpamwrite.c @@ -16,9 +16,9 @@ #include <stdio.h> #include <limits.h> #include <assert.h> - #include <math.h> +#include "pm_config.h" #include "pam.h" diff --git a/lib/libppmcmap.c b/lib/libppmcmap.c index 1f7e459d..27233a46 100644 --- a/lib/libppmcmap.c +++ b/lib/libppmcmap.c @@ -12,6 +12,7 @@ ** implied warranty. */ +#include "pm_config.h" #include "pm_c_util.h" #include "nstring.h" #include "mallocvar.h" diff --git a/lib/lum.h b/lib/lum.h index 34d3866e..3d20032b 100644 --- a/lib/lum.h +++ b/lib/lum.h @@ -1,3 +1,5 @@ +#include <netpbm/pm_config.h> + /* Lookup tables for fast RGB -> luminance calculation. */ static int times77[256] = { 0, 77, 154, 231, 308, 385, 462, 539, diff --git a/lib/pam.h b/lib/pam.h index 42d1dc75..53622b00 100644 --- a/lib/pam.h +++ b/lib/pam.h @@ -6,6 +6,7 @@ #ifndef PAM_H #define PAM_H +#include <netpbm/pm_config.h> #include <netpbm/pm.h> #include <netpbm/pnm.h> diff --git a/lib/pamdraw.h b/lib/pamdraw.h index ef724c54..aaa6f20e 100644 --- a/lib/pamdraw.h +++ b/lib/pamdraw.h @@ -8,6 +8,8 @@ ** a single point, and it looks like this: */ +#include <netpbm/pm_config.h> + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/ppm.h b/lib/ppm.h index 57b6c04a..76179724 100644 --- a/lib/ppm.h +++ b/lib/ppm.h @@ -3,6 +3,7 @@ #ifndef _PPM_H_ #define _PPM_H_ +#include <netpbm/pm_config.h> #include <netpbm/pm.h> #include <netpbm/pgm.h> diff --git a/lib/ppmdraw.h b/lib/ppmdraw.h index d7a02e79..df22b44d 100644 --- a/lib/ppmdraw.h +++ b/lib/ppmdraw.h @@ -8,6 +8,8 @@ ** a single point, and it looks like this: */ +#include <netpbm/pm_config.h> + #ifdef __cplusplus extern "C" { #endif |