aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2016-07-02 23:22:58 -0700
committerLev Walkin <vlm@lionet.info>2016-07-02 23:22:58 -0700
commiteabd277f064f86f20aa4eecab471fab0af84fec2 (patch)
tree558b3b99d1144958f59b9319ed7387897ded4c70
parent88434eed3246821ae60231c4d318f19bed0f6218 (diff)
_BSD_SOURCE might be defined in unber.c
-rw-r--r--skeletons/INTEGER.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/skeletons/INTEGER.c b/skeletons/INTEGER.c
index 0331e1b5..a839b32b 100644
--- a/skeletons/INTEGER.c
+++ b/skeletons/INTEGER.c
@@ -3,7 +3,9 @@
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
+#ifndef _BSD_SOURCE
#define _BSD_SOURCE /* for snprintf() on some linux systems */
+#endif
#include <stdio.h>
#include <asn_internal.h>
#include <INTEGER.h>