Commit adf65940 authored by Vasil Velichkov's avatar Vasil Velichkov Committed by Lev Walkin

Fix "_BSD_SOURCE" redefined warning

../../skeletons/GeneralizedTime.c:7:0: warning: "_BSD_SOURCE" redefined [enabled by default]
 #define _BSD_SOURCE     /* for timegm(3) */
parent 9e935ae7
......@@ -4,7 +4,9 @@
*/
#define _POSIX_PTHREAD_SEMANTICS /* for Sun */
#define _REENTRANT /* for Sun */
#ifndef _BSD_SOURCE
#define _BSD_SOURCE /* for timegm(3) */
#endif
#include <asn_internal.h>
#include <GeneralizedTime.h>
......
......@@ -3,7 +3,9 @@
* Redistribution and modifications are permitted subject to BSD license.
*/
#define _ISOC99_SOURCE /* For ilogb() and quiet NAN */
#ifndef _BSD_SOURCE
#define _BSD_SOURCE /* To reintroduce finite(3) */
#endif
#if defined(__alpha)
#include <sys/resource.h> /* For INFINITY */
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment