diff options
Diffstat (limited to 'src/ata_id/ata_id.c')
-rw-r--r-- | src/ata_id/ata_id.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ata_id/ata_id.c b/src/ata_id/ata_id.c index 93dbb53b10..b416cde39a 100644 --- a/src/ata_id/ata_id.c +++ b/src/ata_id/ata_id.c @@ -19,6 +19,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif + #include <stdio.h> #include <stdlib.h> #include <stdint.h> @@ -41,10 +45,6 @@ #include <linux/bsg.h> #include <arpa/inet.h> -#ifdef __UCLIBC__ -#include <linux/fcntl.h> -#endif - #include "libudev.h" #include "libudev-private.h" #include "log.h" |