about summary refs log tree commit diff
path: root/converter/ppm/tgatoppm.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm/tgatoppm.c')
-rw-r--r--converter/ppm/tgatoppm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/converter/ppm/tgatoppm.c b/converter/ppm/tgatoppm.c
index 8a559848..f8538214 100644
--- a/converter/ppm/tgatoppm.c
+++ b/converter/ppm/tgatoppm.c
@@ -16,6 +16,8 @@
 #define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
 
 #include <string.h>
+
+#include "pm_c_util.h"
 #include "ppm.h"
 #include "tga.h"
 #include "shhopt.h"
@@ -81,7 +83,7 @@ parseCommandLine(int argc, char ** argv,
                  "is the input file specification");
 
     if (alpha_spec &&
-        STREQ(cmdlineP->alpha_filename, "-"))
+        streq(cmdlineP->alpha_filename, "-"))
         cmdlineP->alpha_stdout = 1;
     else 
         cmdlineP->alpha_stdout = 0;