about summary refs log tree commit diff
path: root/converter
diff options
context:
space:
mode:
Diffstat (limited to 'converter')
-rw-r--r--converter/other/cameratopam/cameratopam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/other/cameratopam/cameratopam.c b/converter/other/cameratopam/cameratopam.c
index d8936f30..78eb6854 100644
--- a/converter/other/cameratopam/cameratopam.c
+++ b/converter/other/cameratopam/cameratopam.c
@@ -23,6 +23,7 @@
 #include <limits.h>
 #include <math.h>
 #include <time.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -46,7 +47,6 @@
 #include "bayer.h"
 #include "foveon.h"
 #include "dng.h"
-#include "stdio_nofail.h"
 
 /*
    All global variables are defined here, and all functions that
@@ -233,7 +233,7 @@ fixBadPixels(Image const image) {
         }
         free (fname);
         if (fp) {
-            while (fgets_nofail (line, 128, fp)) {
+            while (fgets (line, 128, fp)) {
                 char * cp;
                 cp = strchr (line, '#');
                 if (cp) *cp = 0;