summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-05-01 12:14:48 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-05-01 12:14:48 -0400
commit8292d0191251e8161a2795a82b1c901d45d521ea (patch)
tree5433fcd67eff357b2db5f42461c2defd184b89d5
parent9916d5e79cdffdd4ebea216a36dd04345032c1e1 (diff)
src/scsi_id/scsi_id.c: Add _GNU_SOURCE for struct file_handle
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-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>