about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-06-28 17:32:17 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2023-06-28 17:32:17 +0000
commit341f87d067f5cb46683ae31944e9c31f1cc51e1d (patch)
tree1cce4237c5968d9378a316ab0ce85b4c97172282 /lib
parent59588cf8aa12fd79214e937e6a9597630443c4a8 (diff)
downloadnetpbm-mirror-341f87d067f5cb46683ae31944e9c31f1cc51e1d.tar.gz
netpbm-mirror-341f87d067f5cb46683ae31944e9c31f1cc51e1d.tar.xz
netpbm-mirror-341f87d067f5cb46683ae31944e9c31f1cc51e1d.zip
promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4560 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r--lib/util/nstring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/nstring.c b/lib/util/nstring.c
index 4bbb041f..6663ebf0 100644
--- a/lib/util/nstring.c
+++ b/lib/util/nstring.c
@@ -24,6 +24,7 @@
   Code in this file is contributed to the public domain by its authors.
 =============================================================================*/
 #define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */
+#define _C99_SOURCE  /* Make sure snprintf() is in stdio.h */
 #define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
 #define _BSD_SOURCE  /* Make sure strdup() is in string.h */
 #define _GNU_SOURCE