Fix: relayd: hostname check is too restrictive
[lttng-tools.git] / src / common / compat / compat-fcntl.c
index 7ff63a3a109146e81cb696691f780b6d1117c013..fc6b2d5ca2e40a09c0b9e6eda6057b89e65a6557 100644 (file)
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <common/compat/fcntl.h>
+#include <common/macros.h>
+#include <unistd.h>
 
 #ifdef __linux__
 
+LTTNG_HIDDEN
 int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes,
                unsigned int flags)
 {
This page took 0.024859 seconds and 5 git commands to generate.