about summary refs log tree commit diff
path: root/converter/ppm/ppmtoxpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm/ppmtoxpm.c')
-rw-r--r--converter/ppm/ppmtoxpm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/converter/ppm/ppmtoxpm.c b/converter/ppm/ppmtoxpm.c
index 630653df..fc8ba9d7 100644
--- a/converter/ppm/ppmtoxpm.c
+++ b/converter/ppm/ppmtoxpm.c
@@ -39,6 +39,8 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
+
+#include "pm_c_util.h"
 #include "ppm.h"
 #include "shhopt.h"
 #include "nstring.h"
@@ -138,7 +140,7 @@ parseCommandLine(int argc, char ** argv,
     /* If output filename not specified, use input filename as default. */
     if (nameSpec)
         cmdlineP->name = nameOpt;
-    else if (STREQ(cmdlineP->inputFilename, "-"))
+    else if (streq(cmdlineP->inputFilename, "-"))
         cmdlineP->name = "noname";
     else {
         static char name[80+1];