about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pamtowinicon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/converter/other/pamtowinicon.c b/converter/other/pamtowinicon.c
index 159177e1..c67267e4 100644
--- a/converter/other/pamtowinicon.c
+++ b/converter/other/pamtowinicon.c
@@ -1,5 +1,7 @@
+#define _POSIX_SOURCE   /* Make sure fdopen() is in <stdio.h> */
 #include <assert.h>
 #include <string.h>
+#include <stdio.h>
 
 #include "netpbm/pm_config.h"
 #include "netpbm/pm_c_util.h"