Skip to content

Commit

Permalink
xmlrpc: fix compiler warning #612
Browse files Browse the repository at this point in the history
> CC (gcc) [M xmlrpc.so]		xmlrpc.o
> In file included from /usr/include/strings.h:26:0,
>                  from xmlrpc.c:28:
> /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 947fe86)
(cherry picked from commit 42be150)
  • Loading branch information
linuxmaniac authored and miconda committed Jun 8, 2016
1 parent 5632abc commit 1582200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/xmlrpc/xmlrpc.c
Expand Up @@ -24,6 +24,7 @@
#endif
#define _XOPEN_SOURCE_EXTENDED 1 /* solaris */
#define _SVID_SOURCE 1 /* timegm */
#define _DEFAULT_SOURCE 1 /* _SVID_SOURCE is deprecated */

#include <strings.h>
#include <time.h>
Expand Down

0 comments on commit 1582200

Please sign in to comment.