aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2016-07-02 23:01:30 -0700
committerLev Walkin <vlm@lionet.info>2016-07-02 23:01:30 -0700
commita6040115b33ae2d0ae1b0ebdfba51fb15ce133c3 (patch)
treef3c9b183ebeedcf77655ad302a900a24540f2909
parentf6e4fc9f228ceb4185ca261cfe3d9c141eea619e (diff)
unlock snprintf on some systems
-rw-r--r--skeletons/INTEGER.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/skeletons/INTEGER.c b/skeletons/INTEGER.c
index 01066c9c..0331e1b5 100644
--- a/skeletons/INTEGER.c
+++ b/skeletons/INTEGER.c
@@ -3,6 +3,7 @@
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
+#define _BSD_SOURCE /* for snprintf() on some linux systems */
#include <stdio.h>
#include <asn_internal.h>
#include <INTEGER.h>