mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-05-14 07:42:55 +00:00
Fix compile error on debian jessie
This commit is contained in:
parent
38f86993cf
commit
70d1079a42
@ -1,6 +1,6 @@
|
|||||||
AUTOMAKE_OPTIONS = subdir-objects
|
AUTOMAKE_OPTIONS = subdir-objects
|
||||||
AM_CPPFLAGS= -DLOCALEDIR='"$(localedir)"'
|
AM_CPPFLAGS= -DLOCALEDIR='"$(localedir)"'
|
||||||
AM_CFLAGS=-g -Wall -O3 -I$(top_srcdir)/include `pkg-config --cflags gtk+-3.0`
|
AM_CFLAGS=-g -std=c11 -Wall -O3 -I$(top_srcdir)/include `pkg-config --cflags gtk+-3.0`
|
||||||
SUBDIRS = po
|
SUBDIRS = po
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
EXTRA_DIST = config.rpath m4/ChangeLog Makefile.old data/ptouch.ui
|
EXTRA_DIST = config.rpath m4/ChangeLog Makefile.old data/ptouch.ui
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _POSIX_C_SOURCE 199309L /* needed for nanosleep() when using -std=c11 */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> /* malloc() */
|
#include <stdlib.h> /* malloc() */
|
||||||
#include <string.h> /* memcmp() */
|
#include <string.h> /* memcmp() */
|
||||||
|
Loading…
Reference in New Issue
Block a user