diff options
author | dimitri staessens <[email protected]> | 2017-08-21 09:11:38 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-21 09:11:38 +0000 |
commit | 5b242e7207483860143d3c84438134430ac1448f (patch) | |
tree | a04a750b802436a4e244d8224b800a2f26071091 /src/tools/operf | |
parent | afe8b6f496dd4e0e3aaaa5dec0d6fb32253a49f7 (diff) | |
parent | 8f58e5a3ec0e4a15fc8ae0911cc864f5dbf86c6e (diff) | |
download | ouroboros-5b242e7207483860143d3c84438134430ac1448f.tar.gz ouroboros-5b242e7207483860143d3c84438134430ac1448f.zip |
Merged in dstaesse/ouroboros/be-build (pull request #557)
build: Revise the build system
Diffstat (limited to 'src/tools/operf')
-rw-r--r-- | src/tools/operf/operf.c | 1 | ||||
-rw-r--r-- | src/tools/operf/operf_client.c | 4 | ||||
-rw-r--r-- | src/tools/operf/operf_server.c | 4 |
3 files changed, 1 insertions, 8 deletions
diff --git a/src/tools/operf/operf.c b/src/tools/operf/operf.c index d2dfeaa3..e54fbc6b 100644 --- a/src/tools/operf/operf.c +++ b/src/tools/operf/operf.c @@ -21,6 +21,7 @@ */ #define _POSIX_C_SOURCE 199506L +#define __XSI_VISIBLE 500 #include <ouroboros/fqueue.h> #include <ouroboros/dev.h> diff --git a/src/tools/operf/operf_client.c b/src/tools/operf/operf_client.c index a905b05e..4ad26d13 100644 --- a/src/tools/operf/operf_client.c +++ b/src/tools/operf/operf_client.c @@ -24,10 +24,6 @@ #include <ouroboros/fcntl.h> #include <ouroboros/time_utils.h> -#ifdef __FreeBSD__ -#define __XSI_VISIBLE 500 -#endif - #include <signal.h> #include <stdlib.h> #include <sys/time.h> diff --git a/src/tools/operf/operf_server.c b/src/tools/operf/operf_server.c index 3b43ece4..c016ad63 100644 --- a/src/tools/operf/operf_server.c +++ b/src/tools/operf/operf_server.c @@ -20,10 +20,6 @@ * Foundation, Inc., http://www.fsf.org/about/contact/. */ -#ifdef __FreeBSD__ -#define __XSI_VISIBLE 500 -#endif - #include <stdlib.h> #include <signal.h> #include <arpa/inet.h> |