File: testing

package info (click to toggle)
cwdaemon 0.10.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,192 kB
  • sloc: sh: 3,872; ansic: 2,425; perl: 1,181; makefile: 66
file content (13 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/examples/example.c
+++ b/examples/example.c
@@ -29,8 +29,9 @@
  * Usage: 'example' or 'example <portname>'
  */
 
-#define _POSIX_SOURCE /* getaddrinfo() and friends. */
+#define _POSIX_C_SOURCE 1 /* getaddrinfo() and friends. */
 
+#include <features.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>