summaryrefslogtreecommitdiff
path: root/src/scsi_id/scsi_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scsi_id/scsi_id.c')
-rw-r--r--src/scsi_id/scsi_id.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scsi_id/scsi_id.c b/src/scsi_id/scsi_id.c
index 1b6606fa0f..74b3ef5b0d 100644
--- a/src/scsi_id/scsi_id.c
+++ b/src/scsi_id/scsi_id.c
@@ -16,6 +16,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 <stdarg.h>