Skip to content

Commit

Permalink
presence_conference: fix compiler warnings #612
Browse files Browse the repository at this point in the history
> CC (gcc) [M presence_conference.so]		pidf.o
> In file included from /usr/include/time.h:27:0,
>                  from pidf.c:49:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"

(cherry picked from commit 3976224)
  • Loading branch information
linuxmaniac authored and miconda committed Jun 27, 2016
1 parent 2aa2304 commit 5245837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/presence_conference/pidf.c
Expand Up @@ -41,6 +41,7 @@
#define _BSD_SOURCE 1 /* needed on linux to "fix" the effect
of the above define on
features.h/unistd.h syscall() */
#define _DEFAULT_SOURCE 1 /* _BSD_SOURCE is deprecated */
#define _DARWIN_C_SOURCE 1
#else
#define _XOPEN_SOURCE_EXTENDED 1 /* solaris */
Expand Down

0 comments on commit 5245837

Please sign in to comment.